python activate venv linux code example Example 1: start virtual environment python linux source env/bin/activate Example 2: activate venv linux env/bin/activate