pyton virtualenv code example
Example 1: install virtualenv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
Example 2: python virtual env
$ virtualenv -p /usr/bin/python2.7 venv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
$ virtualenv -p /usr/bin/python2.7 venv