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

24👍

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

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

7👍

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
/usr/bin/python3
$  python --version
Python 2.7.14 :: Anaconda, Inc.
$  

2👍

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

0👍

Try this :-

python -m easy_install virtualenv

0👍

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.

👤Marto

0👍

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

Leave a comment