widgets Create Virtual Environment & Install Django

Check your python version with:

python -V

Create a virtual environment:

python -m venv myenvironment

Activate the virtual environment:


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:


Then import django and look version:

import django