how to check python version in virtual environment code example Example: virtualenv specify python version virtualenv --python=/usr/bin/python2.6