install python3 8 and install 3.7 in virtualenv code example Example: start virtualenv with python version python3 -m venv