How to Install or Upgrade Django Using Pip

Reading Time: < 1 minute

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

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

10 Python Tips and Tricks for Data Science Projects

Read Article

How to Upload Information to VMware through SFTP

Read Article

Accessing Man Pages on Ubuntu 16.04 LTS

Read Article

Premium Business Email Pricing FAQ

Read Article

Microsoft Exchange Server Security Update

Read Article