see which python venv has 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: how to use virtual environment python
python3 -m pip install --user virtualenv