create virtual environment of different version of python using venv code example
Example 1: crete venv with pyhton3
virtualenv -p python3 envname
Example 2: virtualenv specify python version
virtualenv --python=/usr/bin/python2.6
virtualenv -p python3 envname
virtualenv --python=/usr/bin/python2.6