Using a particular python binary with venv

Ian Kelly ian.g.kelly at gmail.com
Mon Jun 1 17:38:56 EDT 2015


On Mon, Jun 1, 2015 at 3:33 PM,  <greenbay.graham at gmail.com> wrote:
> According to this https://docs.python.org/3.4/library/venv.html#module-venv 'Each virtual environment has its own Python binary (allowing creation of environments with various Python versions)'
> So how would I create a virtual environment using the venv module that has a Python 2.7 binary?

I wouldn't recommend trying to create a venv virtual environment using
Python 2.7, because venv was only added to the standard library in
Python 3.3. Use the third-party virtualenv instead.



More information about the Python-list mailing list