touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #111218
Re: [Bug 1290847] Re: pyvenv fails due to mising ensurepip module
On Oct 16, 2015, at 03:17 PM, Harry P wrote:
>I'm now testing Ubuntu 15.10, which seems *even more* broken, since it
>seems to have a mixed mode of Python3.4 and 3.5. there's no
>python3.4-pip package, which means there is essentially no way of
>getting a working pip for python 3.4.
Tools like pip, which depend on a specific Python version are fundamentally
flawed on *nix. There's healthy debate in many upstream forums about this
issue. Basically, nobody likes distributing things like pip3.4 and pip3.5,
etc.
If you install python3-pip you will get a pip3 but even that isn't great.
While having a command like `pip3` or `pip3.4` might seem like a useful
convenience, really the best way to invoke pip for a specific Python version
is to use `python3.4 -m pip` or `python3.5 -m pip`. This goes for a small
handful of other packages like nose (with scripts like `nose2-3.4` being the
worst offenders! better to use `pythonX.Y -m nose2`).
We're looking at ways of making this better and more consistent across all
Linux distributions.
--
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
References