activate virtual environment in ubuntu code example
Example 1: ubuntu activate venv
source venv/bin/activate
Example 2: 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