Installing Django on Ubuntu 13.04 using pip. This version of Django requires Python 2.6.5 or higher 1.

  1. Install pip:
sudo apt-get install python-pip
  1. 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.

  1. 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...
  1. Verification
>>> import django
>>> print(django.get_version())
1.5.1