python virtual environment ubuntu install code example
Example 1: how to activate virtual environment using ubuntu
# to activate run below command from your project-virtualenv directory
source my-project-env/bin/activate
# to deactivate run below command
deactivate
Example 2: how to activate virtual environment using ubuntu
source my-project-env/bin/activate