[Fixed]-"The path python3 (from –python=python3) does not exist" error


try something like this, here C:/Python36/python.exe give the full address of python3 executable

virtualenv env -p C:/Python36/python.exe


Using full path will address this issue.

$  virtualenv --python=/usr/bin/python3 testenvironment
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/nansari/testenvironment/bin/python3
Not overwriting existing python script /home/nansari/testenvironment/bin/python (you must use /home/nansari/testenvironment/bin/python3)
Installing setuptools, pip, wheel...done.
$  which python3
$  python --version
Python 2.7.14 :: Anaconda, Inc.


if you have already python in you PATH, sure it works by default with python, no python3.
you just have to run virtualenv -p python env


Try this :-

python -m easy_install virtualenv


Try running this command virtualenv -p python env
i.e without specifying python3, i had same problem while using pycharm and after running this command on the terminal the error was resolved.



When you open your Command Prompt window, make sure to select “Run as administrator”

Leave a comment