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