create venv with python 3.9 macOs code example
Example 1: create a virtual environment python 3
python3 -m venv /path/to/new/virtual/environment
Example 2: creating a virtual environment in python 3.8
c:\>python -m venv c:\path\to\myenv
python3 -m venv /path/to/new/virtual/environment
c:\>python -m venv c:\path\to\myenv