config virtualenv python 3.9 code example
Example 1: virtual env in python
pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
Example 2: creating a virtual environment in python 3.8
c:\>python -m venv c:\path\to\myenv
pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
c:\>python -m venv c:\path\to\myenv