Installing Django on Ubuntu 13.04 using pip. This version of Django requires Python 2.6.5 or higher 1.
- Install pip:
sudo apt-get install python-pip
- Remove older version of Django.
According to the installation documentation, if the older version was installed using pip, then this step can be skipped, since pip will take care of updating to new version.
- Install using pip
sudo pip install Django==1.5.1
At the end of installation, you should get the message
Successfully installed Django Cleaning up...
>>> import django >>> print(django.get_version()) 1.5.1