venv usage on windows, activate and deactivate


virtual environment

go on to your project root directory

first create a virtual environment with syntax

python3 -m venv

python3 -m venv niceproject

a folder called niceproject will be automatically

cd into

cd niceproject

then in the Scripts folder

cd Scripts

then just type

activate

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

pip install what you wish

then type

deactivate

to disactivate the virtualenv

Free Flask Course