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