my virtualenv is giving python version 2.7 code example Example: start virtualenv with python version python3 -m venv