25th Anniversary Savings | 25% Off Dedicated Servers*Shop Now
25th Anniversary Savings | 25% Off VPS Hosting* †††Shop Now
Limited Inventory: High-Performance AMD-Powered Servers Now Available.* Shop Now >
Dedicated Hosting Deals | From $99/moShop Now

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

What Is WebP and What Makes it Different from Other Image Formats?

Read Article

Top 10 Password Security Standards

Read Article

Top 10 Password Security Standards

Read Article

How to Install MongoDB on AlmaLinux

Read Article

How to Use the WP Toolkit to Secure and Update WordPress

Read Article