Re: [venv] Setting Non-default-python-version in virtualenv

2016-09-20 Thread Jakub Vysoky
note> in my usual linux distro (archlinux) i have virtualenv installed under both py2 and py3, so for creating py2 virtualenv i have an executable virtualenv2 - convenience of my distro packages. On Mon, Sep 19, 2016 at 5:39 PM, Paul Moore wrote: > You should confirm that the python executable i

Re: [venv] Setting Non-default-python-version in virtualenv

2016-09-19 Thread Paul Moore
You should confirm that the python executable in the venv is actually Python 2.7, which you can do by running ~/env_dir/python -V ~/env_dir/python2.7 -V (both of those files should exist, and you can run the above without activating the virtualenv, as you're specifying the exact path). If either

Re: [venv] Setting Non-default-python-version in virtualenv

2016-09-19 Thread Amir Teymuri
> > Also take a look on my question at stack overflow: http://stackoverflow.com/questions/39556999/setting-non-default-python-version-in-virtualenv?noredirect=1#comment66425211_39556999 -- You received this message because you are subscribed to the Google Groups "virtualenv" group. To unsub

Re: [venv] Setting Non-default-python-version in virtualenv

2016-09-18 Thread Amir Teymuri
Yes i have a python 2.7 installed on my machin. On Sep 18, 2016 2:03 PM, "Amir Teymuri" wrote: > My default python version on my Debian 8.5 machine is *3.4.2*. I want to > use python *2.7* for only one project. I have tried running all of the > following commands in the terminal one by one, : > >

Re: [venv] Setting Non-default-python-version in virtualenv

2016-09-18 Thread Tres Seaver
On 09/18/2016 08:03 AM, Amir Teymuri wrote: > > > My default python version on my Debian 8.5 machine is *3.4.2*. I want to > use python *2.7* for only one project. I have tried running all of the > following commands in the terminal one by one, : > > virtualenv -p python2.7 env_dir > virtualen

[venv] Setting Non-default-python-version in virtualenv

2016-09-18 Thread Amir Teymuri
My default python version on my Debian 8.5 machine is *3.4.2*. I want to use python *2.7* for only one project. I have tried running all of the following commands in the terminal one by one, : virtualenv -p python2.7 env_dir virtualenv -p python2 env_dir virtualenv --python=python2.7 env_dir