Create Virtual Environment & Install Django
Check your python version with:
python -V
Create a virtual environment:
python -m venv myenvironment
Activate the virtual environment:
.\myenvironment\Scripts\activate
For deactivate just use `deactivate` command.
Install Django after activate virtual environment:
pip3 install django
Lets look django is installed correctly. Open python console with python command. Write:
python
Then import django and look version:
import django
django.VERSION