activate venv in windows command code example Example 1: activate virtualenv windows venv\Scripts\activate Example 2: activate python venv in windows \Scripts\activate.bat