activate python virtualenv created in windows code example Example 1: how to activate a venv in windows \env\Scripts\activate.bat Example 2: start python virtual activate venv