virtualenv source venv/bin/activate code example Example: activate virtualenv \env\Scripts\activate.bat