python - Setting up Django environments for Python2.X and 3.X? -


i'm trying set django environment work on website project python group. we're using 2.7 project, when followed guide https://www.howtoforge.com/tutorial/django-install-ubuntu-14.04/ set 3.4. how can differentiate set of setup tools installs?

here pip version when type --version

~ $ pip --version pip 1.5.6 /usr/local/lib/python3.4/dist-packages/pip-1.5.6-py3.4.egg (python 3.4) 

you can point python executable via -p:

virtualenv -p /usr/bin/python2.7 <path/to/new/virtualenv/> 

while creating new virtualenv.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -