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