[New-bugs-announce] [issue25151] venv does not work with debian releases, if you want to install pip

Laura Creighton report at bugs.python.org
Thu Sep 17 15:55:40 CEST 2015


New submission from Laura Creighton:

I am reporting this here so that the next person who runs into this and looks into the bug tracker will find out what to do.

You cannot create a venv with Python3.3, 3.4, 3.5. on debian (and likely
on many debian-derived distros). 

 Instead you get Error: Command '['<directory>/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 
1

Debian knows all about this, but they don't want to make changes.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732703

Instead, if you want venv to work you will need to install the debian packages python3-venv (for 3.4) and python3.5-venv for 3.5.

Can somebody close this issue now, as this is clearly a debian issue and not a Python bug.  I am just reporting it here so that somebody else who has the problem can find out what to do.

----------
components: Distutils
messages: 250887
nosy: dstufft, eric.araujo, lac
priority: normal
severity: normal
status: open
title: venv does not work with debian releases, if you want to install pip
type: behavior
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25151>
_______________________________________


More information about the New-bugs-announce mailing list