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.


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.

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 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.)


I suppose at that point the newbie gave up and downloaded node.js ;-)


On Sun, 12 Nov 2017 12:20:45 +0000
Paul Moore <p.f.moore@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.



Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/