active virtual environment python windows code example

Example 1: how to activate a venv in windows

\env\Scripts\activate.bat

Example 2: activate virtualenv windows

venv\Scripts\activate

Example 3: venv/Scripts/activate.bat for windows

.\venv\Scripts\activate

Example 4: activate virtual environment in windows

.\env\Scripts\\activate.bat

Example 5: how to activate the pytho virtual environment

mypthon\Scripts\activate

Example 6: venv/Scripts/activate.bat for windows

virtualenv --system-site-packages -p python ./venv

Tags:

Misc Example