how do i activate virtual env code example Example 1: activate venv source env/bin/activate Example 2: how to make a virtual environment in python .\env\Scripts\activate