django – The path python3 (from –python=python3) does not exist error

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

django – The path python3 (from –python=python3) does not exist error

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
Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *