How to Install or Upgrade Django Using Pip

Django is a Python web framework; it’s free, open source, and often used with complex, database-driven websites.

Pre-Flight Check
  • These instructions are intended specifically for installing Django, a Python web framework.
  • I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.

Step 1: Verify Python

As of March 2015, all features work with Python 2.6 and 2.7.

How to Check and Verify the Version of Python

Step 2: Verify That Pip is Installed

How to Install Pip on CentOS 7

Step 3: Install Django

Let’s install Django with Pip:

pip install django

If you’re upgrading an existing Django installation, then use the –upgrade option:

pip install --upgrade django

Try a Free Cloud Server.

Trying a new server is a breeze, and it’ll be up and running in only a few minutes...

Be Sociable, Share!
Here's $75, Launch a New VPS Today. Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7 Heroic Support.