I have added python36/Scripts
in the environment variable's path file and python36 as well is added. But it still shows the following error
Command = C:\Users\Sonalika\dev\trydjango1-11>virtualenv -p python3
Error I receive:
The path python3 (from --python=python3) does not exist
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.
$
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With