python3.7 -m virtualenv code example Example: virtualenv -p python3 virtualenv -p python3.6 venv For simple python3 virtualenv -p python3 venv