Run venv
with whatever Python installation you want to use for the new virtual environment. For example, if you would run your Python 3.6 installation with python3.6
, then
python3.6 -m venv whatever
would be how you create a Python 3.6 virtual environment.
from: https://stackoverflow.com/questions/54700307/python3-m-venv-how-to-specify-python-point-release-version