python 2 virtual env code example
Example 1: venv
python -m venv c:\path\to\myenv
Example 2: python env
python3 -m venv tutorial-env
tutorial-env\Scripts\activate.bat (window)
source tutorial-env/bin/activate (linux)
python -m venv c:\path\to\myenv
python3 -m venv tutorial-env
tutorial-env\Scripts\activate.bat (window)
source tutorial-env/bin/activate (linux)