how to create virtual environment for python 3.6 code example Example: start virtualenv with python version python3 -m venv <myenvname>