python create virtual environment specifying python version code example
Example 1: how to use virtual environment python
python3 -m venv env
Example 2: start virtualenv with python version
python3 -m venv <myenvname>
python3 -m venv env
python3 -m venv <myenvname>