activate virtual environment python windows 10 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: virtual environments for python

python3 -m venv tutorial-env

Example 4: activate virtual environment on windows

venv\Scripts\activate.bat

Example 5: create environment python windows 10

python3 -m venv venv

Example 6: activate virtual environment python windows 10

cd C: Path to virtual environment> .\activate

Tags:

Misc Example