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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -