open virtualenv python3 code example
Example 1: virtualenv -p python3
virtualenv -p python3.6 venv
For simple python3
virtualenv -p python3 venv
Example 2: create virtual environment python 3
python3 -m venv /path/to/new/virtual/environment
virtualenv -p python3.6 venv
For simple python3
virtualenv -p python3 venv
python3 -m venv /path/to/new/virtual/environment