Python Virtual Environment - Activating Environment

Bash

Activating a Python virtual environment. First we cd to the location the virtual environment was created and then run source command to activate environment.

cd path_of_virtual_environment
source environment_name/bin/activate
Did you find this snippet useful?

Sign up for free to to add this to your code library