[Bug 1290847] Re: pyvenv fails due to mising ensurepip module

Donald Stufft donald at stufft.io
Thu Apr 17 20:51:55 UTC 2014


As Barry said you can't gate installing pip on system packages or not.
Further more I would suggest that installing the OS modified pip into a
virtualenv will lead to surprising behavior for people. People should be
free to update their pip inside of a virtual environment as they wish,
however doing that will trigger people to go from a OS modified pip to
an upstream pip and can subtly change the behavior.

One thing to ensure that if you use rewheel that it should also rebundle
the bundled libraries. Pip bundles those things because otherwise we
assert what valid versions of things you can have installed alongside
pip. If you just simple install say requests into the virtual
environment alongside pip then when someone comes along and wants to
install their app which uses a different version of requests that isn't
compatible then either pip or their app breaks.

-- 
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