installer VirtualEnv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
Random boi
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
python3 -m venv env
python -m virtualenv env #py2
source env/bin/activate
#all this is on same directory
pip install virtualenv
cd projectfolder #go to project folder
virtualenv projectname #create the folder projectname
source projectname/bin/activate
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-env\Scripts\activate #activate env
deactivate #deactivate env
//to create the virtual environment in windows
python -m venv env
// or
python3 -m venv env
//to activate virtual environment in windows
source env/Scripts/activate
//to disable virtual environment in windows
deactivate
//create the virtual environment for Mac and Linux
python -m venv env
// or
python3 -m venv env
//activate virtual environment for Mac and Linux
source env/bin/activate