xxxxxxxxxx
#Creating a Virtual Environment | Windows 10
#Proceed to the folder were you want to create your environment, Then enter the following:
> py -m venv project_name \
#To activate the environment, run:
> project_name\Scripts\activate.bat \
#Then install Django using pip
> py -m pip install Django \
xxxxxxxxxx
$ virtualenv env
//env is the name(you can name it whatever you want)
xxxxxxxxxx
Windows:
# replace 3.6 with your python version
py -3.6 -m venv myenv
myenv\Scripts\Activate.ps1