** Changed in: python3.10 (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/
This bug was fixed in the package python3.10 - 3.10.2-7
---
python3.10 (3.10.2-7) unstable; urgency=medium
[ Stefano Rivera ]
* Use the same is_virtual_environment() proposed in PEP 668 across the site,
sysconfig, and distutils modules. Stop checking for PYTHONUSERBASE or
Fixed in 3.10.2-7 in jammy-proposed.
** Changed in: python3.10 (Ubuntu)
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
python3 -m venv instal
FYI, I filed https://salsa.debian.org/cpython-
team/python3/-/merge_requests/18 including a fix for this.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
python3 -m venv installs pip to
For anyone looking for a workaround, thanks to andersk above. I edited
/usr/lib/python3.10/sysconfig.py per this diff:
usr/lib/python3.10$ diff -p sysconfig.py~ sysconfig.py
*** sysconfig.py~ 2022-02-26 03:21:15.0 -0500
--- sysconfig.py2022-03-10 21:09:02.572726493 -0500
** Tags added: rls-jj-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip
To manage notifications about this
** Changed in: python3.10 (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pi
sysconfig-debian-schemes.patch uses an incorrect test for a virtual
environment:
if 'real_prefix' in sys.__dict__ or 'VIRTUAL_ENV' in os.environ:
Both sys.real_prefix and VIRTUAL_ENV are only set by virtualenv, not
venv, and then only when the virtualenv is activated by
VENV_ROOT/bin/activate, no
Confirmed: I ran into this independently. I tried uninstalling
python3.9-venv, just in case it was interfering, and updating pip with
itself to 22.0.3, and neither helped.
$ python3.10 -mvenv 310
$ python3.9 -mvenv 39
$ ls 310/bin
activate activate.csh activate.fish Activate.ps1 python python
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python3.10 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
** Changed in: python3.10 (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip
** Tags added: jammy testcase
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962791
Title:
python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip
To manage notifications about this
** Bug watch added: Debian Bug tracker #1006707
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006707
** Also affects: python3.10 (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006707
Importance: Unknown
Status: Unknown
--
You received this bug notification b
Trying virtualenv instead of venv, it installs pip to the right path,
but if you use it to install other packages before activating the
virtualenv, their binaries end up in the wrong path. Ubuntu 21.10:
# apt update; apt install python3-virtualenv
# virtualenv /tmp/my-virtualenv
# /tmp/my-virtual
14 matches
Mail list logo