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.
As of March 2015, all features work with Python 2.6 and 2.7.
How to Check and Verify the Version of Python
How to Install Pip on CentOS 7
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
Related Articles:

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!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
2024 cPanel and Plesk pricing breakdown
Read ArticleCentOS Linux 7 EOL — everything you need to know
Read ArticleHow to install Node.js on Linux (AlmaLinux)
Read ArticleUpgrading or installing PHP on Ubuntu — PHP 7.2 and Ubuntu 22.04
Read ArticleWhy is your IP blocked?
Read Article