Create a virtualenv for the person

From OpenHatch wiki
Revision as of 23:36, 4 March 2011 by imported>Paulproteus (→‎Install the virtualenv package)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install the virtualenv package

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

virtualenv ~/env

Activate it

source ~/env/bin/activate

You should now see

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

Upgrade Django

pip install --upgrade django