How to Install Virtual Environment on Ubuntu#

  1. Install virtualenv and virtualenvwrapper
sudo pip install virtualenv

sudo pip install virtualenvwrapper
  1. setup and activate a new environemnt
virtualenv env

source env/bin/activate
  1. when you want to activate the environment
source <activate in env/bin>
  1. Deactivate the environemnt
deactivate