[Bug 1306114] Re: pyvenv-3.4 fails to create a virtual environment in Trusty Tahr

Hidden Markov bogdan.kulinich at gmail.com
Thu Apr 24 20:46:16 UTC 2014


*** This bug is a duplicate of bug 1290847 ***
    https://bugs.launchpad.net/bugs/1290847

Temporary workaround that worked for me was to copy `ensurepip` folder from python 3.4 web repository (`Lib` directory) to `/usr/lib/python3.4`.
 The default Trusty Tahr distribution for some reason lacks the `ensurepip` package.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1306114

Title:
  pyvenv-3.4 fails to create a virtual environment in Trusty Tahr

Status in “python3-defaults” package in Ubuntu:
  Confirmed
Status in “python3.4” package in Ubuntu:
  Confirmed

Bug description:
  When attempting to create a virtual environment using pyvenv-3.4 an
  error is thrown and the virtual environment is not correctly created:

  "Error: Command '['/home/michael/pyvenvs/pyvenv1/bin/python3.4',
  '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero
  exit status 1"

  Package version is 3.4.0-1


  running pyvenv-3.4 with option --without-pip prevents this error from
  happening. additionally, python3 -m ensurepip returns "No module named
  ensurepip", so it seems like this module is lacking...

  FYI, I also have package python3-pip installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1306114/+subscriptions



More information about the foundations-bugs mailing list