Author Profile Altaf Shaikh
Altaf Shaikh

BE Engg | Python Dev | Content Writer | Founder of TeachMeBro | Blockchain Dev | Django

Quick Django Installation

February 1st 2020   267

Quick Django Installation
Quick Django Installation

Installing an official release with pip

 

pip install Django

or to install a specific version of Django use the below command,

pip install Django==2.1.7

Verifying

To verify that Django can be seen by Python, type python from your shell. Then at the Python prompt, try to import Django:

import django
print(django.get_version())

'''
#Output
2.1.7 or it will show whatever version you have installed
'''

That’s it!

That’s it – we can now move onto the tutorial.