venv usage windows
virtual environment

venv usage on windows, activate and deactivate

go on to your project root directory

first create a virtual environment with syntax

python3 -m venv <env-name>

python3 -m venv niceproject

a folder called niceproject will be automatically

cd into <projectname>

cd niceproject

then in the Scripts folder

cd Scripts

then just type


it will activate as there is an activate.bat in the Scripts folder

pip install what you wish

then type


to disactivate the virtualenv