[Bug 1290847] Re: pyvenv fails due to mising ensurepip module
Barry Warsaw
1290847 at bugs.launchpad.net
Fri Apr 11 21:49:44 UTC 2014
On Apr 11, 2014, at 09:27 PM, Matthias Klose wrote:
> - 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
This doesn't work currently (at least in my limited testing). python3-pip
doesn't install into the right location in a venv.
>- 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.
We'll have to do some work on rewheel to make it work recursively (e.g. all
the bundles that the bundles) and then package it up in PyPI and then the
archive. But I think this is the right long term solution.
--
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