how to create python virtual env with specific version code example Example: virtualenv specify python version virtualenv --python=/usr/bin/python2.6