[Bug 1290847] Re: pyvenv fails due to mising ensurepip module
Matthias Klose
doko at ubuntu.com
Fri Apr 11 21:27:49 UTC 2014
we do not want to include all the pre-packaged python modules in the
wheel files, python-pip, setuptools, distlib, python-six, python-
requests, etc ...
so what we want to do:
- if pyvenv3 is called with --system-site-packages, then don't require ensurepip at all,
but try to import the system python3-pip and fail with an import error if it fails,
pointing the user to install python3-pip
- when called without --system-site-packages:
provide a wheel package/something which is built from the system supplied
python-pip, setuptools, distlib, ... packages and then used in the venv. Maybe
use rewheel for this, but in any case build this in a separate source.
** Also affects: python3-defaults (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1290847
Title:
pyvenv fails due to mising ensurepip module
Status in “python3-defaults” package in Ubuntu:
Confirmed
Status in “python3.4” package in Ubuntu:
Confirmed
Status in “python3.4” package in Debian:
New
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
More information about the foundations-bugs
mailing list