touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #105886
[Bug 1290847] Re: pyvenv fails due to mising ensurepip module
There have been some discussions about this via other channels (e.g.
IRC). We're probably at least going to patch Python so that if you try
to do `python3 -m venv` and ensurepip (i.e. via python3-venv binary
package) isn't installed, you'll get a more helpful message that
instructs you to `sudo apt-get install python3-venv`. I think we all
agree this would be good to add.
The second part of our discussions, which is still unsettled, is whether
to promote `python3.X-venv` to a Recommends. Some viewpoints see this
as a (mild) abuse of Debian Policy, but OTOH it may be an acceptable one
to improve the user-friendliness of the tool. apt-get by default
installs Recommends (with an option to not do so) where as Suggests are
not installed by default (with an option to do so).
Stay tuned.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3-defaults in
Ubuntu.
https://bugs.launchpad.net/bugs/1290847
Title:
pyvenv fails due to mising ensurepip module
Status in python3-defaults package in Ubuntu:
Fix Released
Status in python3.4 package in Ubuntu:
Fix Released
Status in python3.4 package in Debian:
Fix Released
Bug description:
Hello,
I noticed the following
# fails
python3.4 -m venv --clear python-venv
Error: Command '['.../external/python-venv/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1
# works, but no pip
python3.4 -m venv --clear --without-pip python-venv
Thank you
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1290847/+subscriptions