virtual environment on windows 10 code example Example 1: activate virtualenv windows venv\Scripts\activate Example 2: windows activate venv venv\Scripts\activate