ppip install venv code example
Example 1: install virtualenv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
Example 2: virtual environment python
#create new virtual environment
python3 -m venv /path/to/new/virtual/environment