Package: python3-venv
Version: 3.5.1-2
Severity: serious
Justification: renders the package unusable
Hello,
It seems current Python 3 packages in Debian unstable don't allow
creating a virtual environment anymore with pyvenv and friends:
~/python-venv % /usr/bin/python3.5 -m venv testdir
The vir
Some more info:
Inserting a 'print(cmd)' at line 259 showed that the direct cause of
the error message is the command:
['/home/flo/python-venv/testdir/bin/python3.5',
'-Im', 'ensurepip', '--upgrade', '--default-pip']
exiting with a non-zero exit status. Running this command by hand after
th
Simple workaround for this bug:
1) Create the venv with --without-pip. For instance:
/usr/bin/python3.5 -m venv --without-pip
2) Download https://bootstrap.pypa.io/get-pip.py as ~/tmp/get-pip.py.
3) Bootstrap pip "manually" in your venv:
/bin/python ~/tmp/get-pip.py
HTH
3 matches
Mail list logo