Deutsch   English   Français   Italiano  
<mailman.18.1722892676.2890.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: o1bigtenor <o1bigtenor@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: Help needed - - running into issues with python and its tools
Date: Mon, 5 Aug 2024 16:17:16 -0500
Lines: 144
Message-ID: <mailman.18.1722892676.2890.python-list@python.org>
References: <CAPpdf5-D7kwCK=-kT9E7nZSxk_XqJtenMn08AngXEZjpairCSw@mail.gmail.com>
 <6c8e722a-ff27-4979-b299-a25fdcac0036@DancesWithMice.info>
 <CAPpdf58wNrm1n+M6uCH4CDazx-rTTnUjgt62vYaFGUw9QZL2Ng@mail.gmail.com>
 <9e360cba-5774-4676-a025-810e655f0918@DancesWithMice.info>
 <CAPpdf58z=WY-BTcCYPgu+rnaRgkP7+CKt-WX-hwpmogs7KqG4Q@mail.gmail.com>
 <65743dbe-948e-4dcb-a434-aedc108c11cc@wichmann.us>
 <CAPpdf5_XpFHcqQ8MozaNPSxaJhty-i06Dpj=_b6fq8pcTvxGNQ@mail.gmail.com>
 <9796ce7b-9ef7-4386-a79f-8ee3aa97d7bc@wichmann.us>
 <CAPpdf58gQQ7Tpnuz7ogHaHoN2Te6h_K1reo2ZCiSWSm9qFechg@mail.gmail.com>
 <2066444d-2b5d-4b09-b1a8-8242c68591d1@wichmann.us>
 <CAPpdf5-03zQi7ZnMOP1WieqFd_UO+y2+h67xBS3QuqmeQgFsFg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de zlaeQq/BnWiT5m7Nqy8MNQgaClSCtq5ASJ1W6TfTf5VQ==
Cancel-Lock: sha1:vd/k9DiuArThYt9b/JqIWYj3wnU= sha256:AR8cBBhmsfQX8ghbhpT8ku+bn/iYeTyir5fctqJKCoE=
Return-Path: <o1bigtenor@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=gmail.com header.i=@gmail.com header.b=Lyi5m/ZQ;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'knows': 0.04; 'pip': 0.04;
 'error:': 0.05; 'restrictions': 0.05; 'subject:python': 0.06;
 '>>>': 0.07; 'aug': 0.07; 'hopefully': 0.07;
 'interacting': 0.07; 'pep': 0.07; 'subject:into': 0.07; 'sun,':
 0.07; 'python.': 0.08; 'cc:addr:python-list': 0.09; 'example:':
 0.09; 'hat': 0.09; 'it)': 0.09; 'linux': 0.09; 'subject:needed':
 0.09; 'url-ip:151.101.0.223/32': 0.09; 'url-
 ip:151.101.128.223/32': 0.09; 'url-ip:151.101.192.223/32': 0.09;
 'url-ip:151.101.64.223/32': 0.09; '\xc2\xa0with': 0.09; '>':
 0.14; 'cc:no real name:2**0': 0.14; 'possible,': 0.15; 'that.':
 0.15; '<': 0.16; '2024': 0.16; 'doc': 0.16; 'found.': 0.16;
 'indeed': 0.16; 'managed,': 0.16; 'mats': 0.16; 'micropython,':
 0.16; 'o1bigtenor': 0.16; 'reason.': 0.16; 'received:mail-
 lj1-x22a.google.com': 0.16; 'subject:running': 0.16; 'to:name:mats
 wichmann': 0.16; 'url:peps': 0.16; 'virtualenv': 0.16; 'wichmann':
 0.16; '\xc2\xa0on': 0.16; 'wrote:': 0.16; 'python': 0.16;
 'subject:Help': 0.17; "can't": 0.17; 'subject:issues': 0.19;
 'cc:addr:python.org': 0.20; 'skip:& 40': 0.22; 'version': 0.23;
 'install': 0.23; 'code': 0.23; 'command': 0.23; 'installed': 0.23;
 'run': 0.23; '(and': 0.25; 'anything': 0.25; 'python,': 0.25;
 'cc:2**0': 0.25; 'seems': 0.26; 'binary': 0.26; 'cover': 0.26;
 "wasn't": 0.26; 'creating': 0.27; 'else': 0.27; 'done': 0.28;
 '>>>': 0.28; 'it,': 0.29; 'error': 0.29; 'whole': 0.30;
 'approach': 0.31; 'module': 0.31; 'think': 0.32; "doesn't": 0.32;
 'question': 0.32; 'marked': 0.32; 'python-list': 0.32; 'message-
 id:@mail.gmail.com': 0.32; 'but': 0.32; 'there': 0.33; 'path':
 0.33; 'able': 0.34; 'same': 0.34; 'package': 0.34; 'work.': 0.34;
 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
 'trying': 0.35; 'yes,': 0.35; 'from:addr:gmail.com': 0.35;
 'files': 0.36; 'built': 0.36; 'mon,': 0.36; 'source': 0.36;
 'change': 0.36; "skip:' 10": 0.37; "it's": 0.37; 'hard': 0.37;
 'though': 0.37; '8bit%:14': 0.38; 'quite': 0.39; 'setting': 0.39;
 'use': 0.39; 'neither': 0.39; 'base': 0.40; 'something': 0.40;
 'want': 0.40; 'should': 0.40; 'sorry': 0.60; 'skip:\xc2 10': 0.62;
 'policy': 0.62; 'point.': 0.62; 'url-ip:151.101.0/24': 0.62; 'url-
 ip:151.101.128/24': 0.62; 'url-ip:151.101.192/24': 0.62; 'url-
 ip:151.101.64/24': 0.62; 'come': 0.62; 'ever': 0.63; 'skip:m 20':
 0.63; 'mainly': 0.64; 'your': 0.64; 'let': 0.66; 'right': 0.68;
 'manager': 0.68; 'mountain': 0.69; 'recipe': 0.69; 'skip:/ 10':
 0.69; 'skip:/ 30': 0.69; 'url-ip:lookup error': 0.70; 'older':
 0.70; 'tools': 0.74; '"': 0.76; 'produces': 0.76;
 'construction': 0.81; 'absolutely': 0.84; 'plugin,': 0.84;
 'similarly': 0.84; 'situations,': 0.84; 'work.\xc2\xa0': 0.84;
 'was,': 0.91; 'manager.': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1722892674; x=1723497474; darn=python.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=Qf9V56wkCOLsufVN964rXnBVU3co5oW1yB2A2JfwdSQ=;
 b=Lyi5m/ZQvyzCmgnWalm7Jp7Glo0D6bp6kfTF8WrlZ1SEqQQ74vRHcMELVx9fvIc3Ms
 o1r7h5M4jTow9gc2q2ebHjX49CA0lkXsL8K9ZHdiJok3GY9YJmav9KpoaabS2chrjTnR
 dXW+qRT3BNHhkT7TGFaXr4b9h05qGUszp9DOCjL14f3AVD1xPk4YpboWcuJRH+s0uK+I
 HQTzpd2SNxF4u8nI3rC8iy1sPTOvXhtV87YQbbXG+K3AGDEnOG1fzAQQirK5FVxyrSmI
 N62EKzSFwFxjcKidNBi5emr/5+RffOdXlAikOYl3mhuym448pX9FY7jc3vZ6o2EOhnd+
 H/rw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1722892674; x=1723497474;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=Qf9V56wkCOLsufVN964rXnBVU3co5oW1yB2A2JfwdSQ=;
 b=K1rR2lzooY2DsQRPryDn6YPoJlne65SEi4BRb3T2HKS6S9gv7dmiNl9MtMsSijch/1
 1LjJX9DufLMkuRV1Dy6Ns75w++nuqCzSw7XvyQ1g6Q/UFbgAbH5dBOsmLr9vpQDEh9Oe
 60ii5EBeKPYyKHK26gIfb8StzHtMtEiTLbbF+lethamIuWTRlqttgvhGg6f612Po1NTP
 nHqDowUJ1fZ5XYZhpcCXw2OsK/zAseqSEDhuE0BggEbBTeaQu/oXVEK6PbO3omDnD2SJ
 67vOuRQiz08su88t9Sb8fq5B/OJeI9DwpoS9EuXO1KwyLnOOkCIDHvTJrHUSdJSYkC5G
 0EcA==
X-Gm-Message-State: AOJu0YwnpmT1ltUz7RIHuf4tKWD0ZC0/hUsafSgOKn59i6VHlFk+nlgU
 QKRXxoC3uOIJ1Axh2ctoMZtcK8uJJbAapE8XQ9rJnVnk5mCpswuRdruQDaIfd7Wl0GS4trTNrfR
 W4eFB6Yh+B7M5p1bl37NGMm86qCo=
X-Google-Smtp-Source: AGHT+IFvuCRvDo3TXyvyMi9cHjG5/F6TKhjZ2fVl78bGJnQndTl5auRUOrEVaPeWN9LbbaevFIthN/J1u8+aqsmO9Nk=
X-Received: by 2002:a05:6512:39c7:b0:52e:7f23:5d98 with SMTP id
 2adb3069b0e04-530bb2b2740mr3679819e87.8.1722892673451; Mon, 05 Aug 2024
 14:17:53 -0700 (PDT)
In-Reply-To: <2066444d-2b5d-4b09-b1a8-8242c68591d1@wichmann.us>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPpdf5-03zQi7ZnMOP1WieqFd_UO+y2+h67xBS3QuqmeQgFsFg@mail.gmail.com>
X-Mailman-Original-References: <CAPpdf5-D7kwCK=-kT9E7nZSxk_XqJtenMn08AngXEZjpairCSw@mail.gmail.com>
 <6c8e722a-ff27-4979-b299-a25fdcac0036@DancesWithMice.info>
 <CAPpdf58wNrm1n+M6uCH4CDazx-rTTnUjgt62vYaFGUw9QZL2Ng@mail.gmail.com>
 <9e360cba-5774-4676-a025-810e655f0918@DancesWithMice.info>
 <CAPpdf58z=WY-BTcCYPgu+rnaRgkP7+CKt-WX-hwpmogs7KqG4Q@mail.gmail.com>
 <65743dbe-948e-4dcb-a434-aedc108c11cc@wichmann.us>
 <CAPpdf5_XpFHcqQ8MozaNPSxaJhty-i06Dpj=_b6fq8pcTvxGNQ@mail.gmail.com>
 <9796ce7b-9ef7-4386-a79f-8ee3aa97d7bc@wichmann.us>
 <CAPpdf58gQQ7Tpnuz7ogHaHoN2Te6h_K1reo2ZCiSWSm9qFechg@mail.gmail.com>
 <2066444d-2b5d-4b09-b1a8-8242c68591d1@wichmann.us>
Bytes: 12633

On Mon, Aug 5, 2024 at 3:56=E2=80=AFPM Mats Wichmann <mats@wichmann.us> wro=
te:

>
> > On Mon, Aug 5, 2024 at 8:51=E2=80=AFAM Mats Wichmann <mats@wichmann.us
> > <mailto:mats@wichmann.us>> wrote:
> >
> >     On 8/5/24 06:48, o1bigtenor via Python-list wrote:
> >      > On Sun, Aug 4, 2024 at 8:49=E2=80=AFAM Mats Wichmann via Python-=
list <
> >      > python-list@python.org <mailto:python-list@python.org>> wrote:
> >      >
> >      >> On 8/3/24 20:03, o1bigtenor via Python-list wrote:
> >      >>
> >      >>> My question was, is and will be (and the doc absolutely doesn'=
t
> >     cover it)
> >      >>> how do I install a different version in the venv so that pytho=
n
> >     3.11.x on
> >      >>> the
> >      >>> system is not discombobulated by the python 3.12.x in the venv=
..
> >      >>> That python 3.12 would let me run the tools needed.
> >      >>> (Its the how to install the next version of python that I just
> >     haven't
> >      >> been
> >      >>> able to find information on - - - and I would be looking for
> >     information
> >      >>> on how to install on a *nix.)
> >      >>
> >      >> To get a different Python "in" the venv, you use the version yo=
u
> >     want in
> >      >> the construction of the venv. For example:
> >      >>
> >      >>
> >      >> $ python3.13 -m venv new_venv
> >      >> $ new_venv/bin/python --version
> >      >> Python 3.13.0b4
> >      >> $ source new_venv/bin/activate
> >      >>
> >      >>
> >      >   "https://peps.python.org/pep-0668/
> >     <https://peps.python.org/pep-0668/> PEP 668, which prevents pip fro=
m
> >      > interacting with the OS installed python. This change has been
> >     done in red
> >      > hat and other distros too . . . "
> >      >
> >      > similarly your first command produces and error code for the sam=
e
> >     reason.
> >      >
> >      > Sorry - - - not my policy - - -
> >
> >     What? Yes, the *system* pip should have some restrictions, if it's =
a
> >     system mainly managed by a package manager.
> >
> >     Setting up a venv is the *expected* approach to such situations, an=
d
> >     creating one doesn't cause any problems. You end up with a pip in t=
he
> >     activated venv that's going to install to a different path (the one
> in
> >     the venv), and will not be marked as externally managed, as the
> package
========== REMAINDER OF ARTICLE TRUNCATED ==========