installieren virualenv
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
//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
pip3 install virtualenv
Collecting virtualenv
Downloading https://files.pythonhosted.org/packages/f7/69/9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
100% |████████████████████████████████| 3.3MB 448kB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-20.0.14
python -m venv env
source env/bin/activate