python create virtual env ubuntu code example
Example 1: how to activate virtual environment using ubuntu
sudo apt-get install python3-pip
virtualenv djangoProject
virtualenv -p /usr/bin/python3.6 djangoProject
source djangoProject/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