You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mention python3-venv for Debian/Ubuntu setups #399
@ncoghlan not sure what you mean here, none of the other linux sections suggest installing virtualenv, should I update all of them to install pip, setuptools, wheel, and virtualenv?
The problem is that Debian & Ubuntu remove ensurepip and venv from their Python 3 installation, so by default "python3 -m venv" doesn't work, and neither does "python3 -m pip".
Other redistributors (including other Linux distros) don't do that - they make venv and pip available by default, as the standard library reference indicates they should.
(Note: my initial description here wasn't quite accurate - it's both venv and ensurepip that are missing from the default install on Debian, not just ensurepip, hence the name of the addon package)
Activity
theacodes commentedon Feb 9, 2018
@ncoghlan not sure what you mean here, none of the other linux sections suggest installing virtualenv, should I update all of them to install pip, setuptools, wheel, and virtualenv?
ncoghlan commentedon Feb 11, 2018
The problem is that Debian & Ubuntu remove ensurepip and venv from their Python 3 installation, so by default "python3 -m venv" doesn't work, and neither does "python3 -m pip".
Other redistributors (including other Linux distros) don't do that - they make venv and pip available by default, as the standard library reference indicates they should.
(Note: my initial description here wasn't quite accurate - it's both venv and ensurepip that are missing from the default install on Debian, not just ensurepip, hence the name of the addon package)
theacodes commentedon Feb 23, 2018
While confirming this I noticed some unfortuante behavior:
python3 -m venvruns withoutpython3-venvbut errors, I'm sure users love that: