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

Bug #1306114 reported by michaelfsp
70
This bug affects 15 people
Affects Status Importance Assigned to Milestone
python3-defaults (Ubuntu)
Confirmed
Undecided
Unassigned
python3.4 (Ubuntu)
Confirmed
Undecided
Unassigned

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.

michaelfsp (michael-fsp)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python3-defaults (Ubuntu):
status: New → Confirmed
Changed in python3.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Hidden Markov (hidden-markov) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.