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
Linux dos2unix command syntax — removing hidden Windows characters from files
Read ArticleHow to use kill commands in Linux
Read ArticleChange cPanel password from WebHost Manager (WHM)
Read ArticleChange cPanel password from WebHost Manager (WHM)
Read ArticleChange the root password in WebHost Manager (WHM)
Read Article