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.
If you have Python installed in your system, an output similar to the one shown below will appear.
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.