If python --V
is showing a version greater than 3, then why not try:
virtualenv -p python env
instead? The value of the p
flag is simply referring to the version of python you're wanting to create the virtual environment with. In this case, python
is greater than version 3.