how to use virtualenv python windows code example Example 1: activate virtualenv windows venv\Scripts\activate Example 2: pip install virtualenv windows .\env\Scripts\activate