how to install virtual environment in python2.6 code example Example: start virtualenv with python version python3 -m venv <myenvname>