Hi Antoine, The venv module is included, however the pyvenv script is in a separate package python3.5-venv .
By the way, I was totally confused by the following text form the doc. https://docs.python.org/3/library/venv.html ======== Deprecated since version 3.6: pyvenv was the recommended tool for creating virtual environments for Python 3.3 and 3.4, and is deprecated in Python 3.6 <https://docs.python.org/dev/whatsnew/3.6.html#deprecated-features>. Changed in version 3.5: The use of venv is now recommended for creating virtual environments. ======== So many questions: * What is the status of "pyenv" in 3.5? Apparently it is not deprecated there. * What is it replaced by? Apparently "venv", but it doesn't say so explicitly. * Is "venv" the same thing as "python -m venv" discussed earlier? Or is it a different thing? With so many things names so similarly, it is hard to tell * What does it mean for "venv" to be recommend in 3.5 if "pyvenv" is not deprecated there? Also, the link brings us to a long page of "What's New in Python 3.6" . Just searching for "venv" only gives the apparently irrelevant: "venv <https://docs.python.org/dev/library/venv.html#module-venv> accepts a new parameter --prompt. This parameter provides an alternative prefix for the virtual environment. (Proposed by Łukasz Balcerzak and ported to 3.6 by Stéphane Wirtel in bpo-22829 <https://bugs.python.org/issue22829>.) " I suppose at that point the newbie gave up and downloaded node.js ;-) Stephan On Sun, 12 Nov 2017 12:20:45 +0000 > Paul Moore <p.f.mo...@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. > > Regards > > Antoine. > > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/