We are having a system with two different Python versions (2.7 and 3.5) presents.
We need to install some dependencies, on Python3.5 virtualenv but Python2.7 virtualenv is already activated for the user which is logged in and we cannot deactivate that virtualenv.
We want to know, if it is possible to activate two different virtualenv of different Python version together for the same user.
We tried by creating a virtualenv for Python2.7 with the following command:
virtualenv -p /usr/bin/python2.7 env2.7
source env2.7/bin/activate
After activating we created a virtualenv for Python3 with the following command:
virtualenv -p /usr/bin/python3 env3
source env3/bin/activate
The above command activated the env3, we would like to know, is it going to effect our application which was running in Python2.7 virtualenv.
pipsito install the program in an isolated virtual environment.pipsiis good tool, but we cannot use other tools, andpipsiusespython2.7, but I want to use `python3'. Although there is work around to fix that.