python3 -m venv venv code example
Example 1: virtualenv -p python3
virtualenv -p python3.6 venv
For simple python3
virtualenv -p python3 venv
Example 2: creating venv python3
mkdir project_folder
cd project_folder
python3.7 -m venv myvenv
virtualenv myvenv --python=python3.7
source myvenv/bin/activate
Example 3: python3 -m venv venv
$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Users\Admin\Ubuntu", "User")