activate venv windows command code example Example 1: how to activate a venv in windows \env\Scripts\activate.bat Example 2: windows activate venv venv\Scripts\activate