Activation and Deactivation

To use your virtual environment 'lab-venv', you need to activate it by running the following command:

source lab-venv/bin/activate

 

Your terminal prompt would be prefixed with "(lab-venv)". This indicates your virtual environment is active.

Kudos! You can now manage your dependencies conveniently.🎉

 

To deactivate the environment, simply write deactivate on your terminal. The environment name prefix is gone - indicating you have deactivated the environment.

Discussion

1

0