change venv python version to 3.9 macos code example
Example 1: create a virtualenv python3
py -m venv env
Example 2: creating a virtual environment in python 3.8
c:\>python -m venv c:\path\to\myenv
py -m venv env
c:\>python -m venv c:\path\to\myenv