django - Install django1.7 with Python 3.4 using virtualenv -


I hit a few brick walls about the installation of the virtual envisioned DJEN7 .7 for Python 3.4.

I have created a Python 3.4 Virtualview:

  sudo virtualenv --no-site-packages -p /usr/bin/python3.4 venv  < / Pre: 

I have tried once in the active virtualwave: venv / bin / activate

/ p>

  sudo pip installation https://www.djangoproject.com/download/1.7b1/tarball/   

This installs django in Python 2.7 directory and not in the virtual environment. Checking with pip freeze does not show any installed packages

I have zip d Have tried to load them and using the python setup.py install > inside the environment, but still in the 2.7 directory, get the angle out of 2.7 and the directory.

Any advice or signal on whatever I am doing wrong will really be appreciated !! <

sudo Code> is unnecessary. Instead try the following:

$ virtualenv -p /usr/bin/python3.4 venv

$ source venv / bin / Activate

(At this point, you can see that your VirtualEvive is active and Python 3.4 is used with which is the , which is Should print something like / home / user / projects / venv / bin / python , and dragon - version , which should print python 3.4.x) < P> $ pip installed https: /www.djangoproject.com/download/1.7b1/tarball/

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -