Creating a virtual environment using a custom Python version code example Example: start virtualenv with python version python3 -m venv <myenvname>