[Python-ideas] venv *is* provided in the standard Python install on Debian/Ubuntu

Antoine Pitrou solipsis at pitrou.net
Sun Nov 12 13:38:51 EST 2017

On Sun, 12 Nov 2017 12:20:45 +0000
Paul Moore <p.f.moore at gmail.com> wrote:
> > Well, not exactly. Do you do python -m venv, or py -x.x -m venv or
> > pythonx -m venv ? Wait, it's not installed by default on debian.  
> Seriously? Debian don't provide venv in the standard Python install?
> That's just broken.

Frankly, I don't know where the current discussion comes from, but on
two recent Debian and Ubuntu setups, I get:

$ dpkg -S /usr/lib/python3.5/venv/__init__.py
libpython3.5-stdlib:amd64: /usr/lib/python3.5/venv/__init__.py

Which, for the uninitiated, means "the venv module is provided by the
Debian/Ubuntu package named libpython3.5-stdlib".  That package is, in
turn, a dependency of the "python3.5" package.



More information about the Python-ideas mailing list