venv python 3 activate code example Example 1: activate venv source env/bin/activate Example 2: activate venv venv\Scripts\activate.bat