python venv with specific version code example
Example 1: uses specific version python venv
# Use python version 3.7.3 for tensorflow
pip install virtualenv
virtualenv -p PYTHONPATH
Example 2: virtualenv specify python version
virtualenv --python=/usr/bin/python2.6
Example 3: start virtualenv with python version
python3 -m venv