how to create a virtualenv with older version of python code example Example: start virtualenv with python version python3 -m venv <myenvname>