Django installation
Django Python

Django installation

Editorial Team
Editorial Team

Before creating a project, you need to install Django on your machine. As Django is a Python framework, it needs Python to run.

You can verify your Python installation by running the following command.

python --version

If you have Python installed in your system, an output similar to the one shown below will appear.

Python 3.7.1

Installing Django

Django requires pip, a package management system which is used to install and manage packages written in python, to start the installation. Run the command to install Django.

pip install django

Verify the installation by running this command.

python -m django --version

This command will display the version of the Django framework installed.