Quick Django Installation
February 1st 2020 490
Installing an official release with
pip install Django
or to install a specific version of Django use the below command,
pip install Django==2.1.7
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 – we can now move onto the tutorial.