python -m virtualenv . code example
Example 1: virtualenv -p python3
virtualenv -p python3.6 venv
For simple python3
virtualenv -p python3 venv
Example 2: virtualenv
virtualenv env
Example 3: virtualenv
source env/bin/activate ## for mac usersenv\Scripts\activate\ ## for windows user"""You can deactivate your environment at any time with the deactivate command.activate"""