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

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

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Mats Wichmann <mats@wichmann.us>
Newsgroups: comp.lang.python
Subject: Re: Help needed - - running into issues with python and its tools
Date: Mon, 5 Aug 2024 14:56:13 -0600
Lines: 122
Message-ID: <mailman.16.1722891384.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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de qMYVwTZWWoUS0CcjrFOflwcGF7Yqn5Wo+LmPcjuqS6sA==
Cancel-Lock: sha1:RSv3bw/zLx8LgCCB46qr5drkKf0= sha256:Npgrb4/5LVuhgonhC490QyhNiL5rdmz5V58lqe9Iqok=
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="1024-bit key; unprotected key"
 header.d=pobox.com header.i=@pobox.com header.b=F/YTqcNp;
 dkim-adsp=none (unprotected policy); 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;
 'aug': 0.07; 'hopefully': 0.07; 'interacting': 0.07; 'pep': 0.07;
 'subject:into': 0.07; 'sun,': 0.07; 'python.': 0.08; 'advise.':
 0.09; '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; 'received:173': 0.13; 'cc:no real name:2**0': 0.14;
 'possible,': 0.15; 'that.': 0.15; '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;
 'subject:running': 0.16; 'to:addr:o1bigtenor': 0.16;
 'to:name:o1bigtenor': 0.16; 'url:peps': 0.16; 'virtualenv': 0.16;
 'wichmann': 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; 'version': 0.23; 'install': 0.23; 'code': 0.23; 'command':
 0.23; 'installed': 0.23; 'run': 0.23; '(and': 0.25; 'python,':
 0.25; 'cc:2**0': 0.25; 'seems': 0.26; 'binary': 0.26; 'cover':
 0.26; 'matt': 0.26; "wasn't": 0.26; 'creating': 0.27; 'done':
 0.28; '>>>': 0.28; 'it,': 0.29; 'error': 0.29; 'header:User-
 Agent:1': 0.30; '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; '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; 'trying': 0.35; 'yes,': 0.35;
 'built': 0.36; 'mon,': 0.36; 'source': 0.36; 'change': 0.36;
 "skip:' 10": 0.37; "it's": 0.37; 'hard': 0.37; 'received:192.168':
 0.37; 'setting': 0.39; 'list': 0.39; 'use': 0.39; 'neither': 0.39;
 'base': 0.40; 'something': 0.40; 'want': 0.40; 'should': 0.40;
 'sorry': 0.60; 'included': 0.61; 'policy': 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; 'recipe': 0.69;
 'tools': 0.74; 'produces': 0.76; 'construction': 0.81;
 'absolutely': 0.84; 'plugin,': 0.84; 'similarly': 0.84;
 'situations,': 0.84; 'was,': 0.91; 'manager.': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
 :date:mime-version:subject:to:cc:references:from:in-reply-to
 :content-type:content-transfer-encoding; s=sasl; bh=lx2HoD6giV+d
 hhFgCtt8Xpld/DmgIJ3AHCDt3HzgiEY=; b=F/YTqcNpASDPm7Ztzueh1iZAX1oL
 uk50VU29XY9JnACl0Qn4U2Y3CY/J7OZkJbz2wrMVqYOQxeJOD4nHmvpi+5E62lb7
 nEZSCcV6BUUZTmgzg/5ZTCCS0hFjcILRxBtebqr3Ju55jgoGEe784Fw3XE0przUE
 5ZZBLQdLsSIcU3U=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
 h=message-id:date:mime-version:subject:to:cc:references:from:in-reply-to:content-type:content-transfer-encoding;
 s=2018-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wzcA8TYf5UTjDMgwcSNoErTc9ag+IX05QFgL8
 aF8sfJRv5atcitqQy0gSIsOzI+L/AFdPN/+QQI3dL1tCq14t32KPDtigDhzm6jVPXX5z+V9u
 xnD8XTp+ZvNcWoHXjViM8aXeLLEiCpiVCho307h3XShvqoKINWRQWeAsKKDDAAMFA/48zaey
 wiiEyvI0meJ1KkNHxdLP0yLODr1WV6j9xkPkLWOaIDw7dlwEOlF1N1YtZ2wa0p1wsttdIbIx
 ffgwXmcH4zrdxUIMz3U0BqYzk5H+5cYFXECXTFVOmweS+JECYMj80PjRoKCO1eVO1N30zksB
 36NnhZWPRWIhjK3ZarIYH8JGBBgRAgAGBQI/mKzwAAoJEMAxoJBz2FTG6VEAoKDYHfDp5Q3q
 PuPvPahCE9HsXMgAAJ9INTqcLSJrOfyJ8q95nBO1T26H2Q==
In-Reply-To: <CAPpdf58gQQ7Tpnuz7ogHaHoN2Te6h_K1reo2ZCiSWSm9qFechg@mail.gmail.com>
X-Pobox-Relay-ID: 2869B868-536D-11EF-984E-BF444491E1BC-81526775!pb-smtp20.pobox.com
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: <2066444d-2b5d-4b09-b1a8-8242c68591d1@wichmann.us>
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>
Bytes: 12069

On 8/5/24 14:39, o1bigtenor wrote:
> Matt - if you would rather that you were not included in the address=20
> list - -
> please advise.
>=20
> On Mon, Aug 5, 2024 at 8:51=E2=80=AFAM Mats Wichmann <mats@wichmann.us=20
> <mailto:mats@wichmann.us>> wrote:
>=20
>     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
>      >>
>      >>
>      >=C2=A0 =C2=A0"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 - - -
>=20
>     What? Yes, the *system* pip should have some restrictions, if it's =
a
>     system mainly managed by a package manager.
>=20
>     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 pac=
kage
>     manager has no control over that path.
>=20
>     That's the whole point.=C2=A0 What error are you getting?=C2=A0 The=
 venv
>     module is
>     not the pip module so restrictions on the system pip have nothing t=
========== REMAINDER OF ARTICLE TRUNCATED ==========