python virtual environment 2.7 code example
Example 1: virtualenv python2
virtualenv --python=/usr/bin/python2.6 <path/to/new/virtualenv/>
Example 2: how to check the existing virtual environments
lsvirtualenv -l
Example 3: virtual env python 2
virtualenv -p C:\Python27\python.exe venv
.\venv\Scripts\activate