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