source venv/bin/activate

Category: Python & pip

source venv/bin/activate

Activate the virtual environment on Linux/Mac

Activates the virtual environment. After this, Python and pip commands use the venv's packages instead of the system ones.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.