Just trying to figure out the intended use of Python3.3's implementation of PEP405, which is the venv spec. This is my first dive into Python3, as I've been in Python2 up until now.
Running Linux Mint KDE, which is pretty much a Debian distro, I compiled and installed Python 3.3.2. To try out this fancy new feature, I went to where I wanted to create a venv, and ran python3.3 -m venv testenv
. It properly created the env. What confuses me, according to the spec, there should be a pysetup3 file inside the bin directory, however there isn't such a file. My guess is that it's the equivalent to easy_install.
Since there is no standard install scripts inside the env, I just downloaded and ran the easy_install script, and then ran easy_install pip
to get a pip command for my env.
Is this pysetup3 script an old idea that didn't make the cut? Am I supposed to reinstall easy_install and pip on each new venv?
Thanks to Jim Garrison for pointing me in the direction. It seems PEP453 will solve the issue of what seems to be missing in new environments using venv
. PEP453 states that pip
will be available by default in Python installations, including the explicitly referenced venv
. PEP453 is slated to be included in Python 3.4. I guess for now in Python 3.3, we'll have to manually install setuptools
and pip
, or continue to use virtualenv
.
No idea what pysetup3
is from PEP405, but I guess not everything has to be to spec. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With