Create a virtualenv for the person

From OpenHatch wiki
Jump to navigation Jump to search

Install the virtualenv package[edit]

sudo apt-get install python-virtualenv

If that doesn't work, try:

sudo apt-get install python-setuptools
sudo easy_install virtualenv

Create a virtualenv[edit]

virtualenv ~/env

Activate it[edit]

source ~/env/bin/activate

You should now see

(env) at the start of your shell prompt. Look for that!

Upgrade Django[edit]

pip install --upgrade django