install virtual environment python 3.7 code example
Example 1: python venv
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