how to change the python version under which the venv folder is working on code example Example: start virtualenv with python version python3 -m venv <myenvname>