create virtual environment python with python 3.7.9 on linux code example Example: creating a virtual environment in python 3.8 c:\>python -m venv c:\path\to\myenv