1# Create the virtual environment.
2python -m venv venv
3
4# Activate the env.
5venv\Scripts\activate.bat
1#Creating a Virtual Environment | Windows 10
2#Proceed to the folder were you want to create your environment, Then enter the following:
3...\> py -m venv project_name
4#To activate the environment, run:
5...\> project_name\Scripts\activate.bat
6#Then install Django using pip
7...\> py -m pip install Django