import venv code example
Example 1: python env
python3 -m venv tutorial-env
tutorial-env\Scripts\activate.bat (window)
source tutorial-env/bin/activate (linux)
Example 2: python virtual environment
python3 -m pip install --user virtualenv
python3 -m venv tutorial-env
tutorial-env\Scripts\activate.bat (window)
source tutorial-env/bin/activate (linux)
python3 -m pip install --user virtualenv