2017-11-18 3 views
-2

PS C:\Users\Sonalika\dev\trydjango1-11> virtualenv -p python3 . The path python3 (from --python=python3) does not exist i added python36/Scripts in the path file and python36 also but it still shows the error"Der Weg python3 (von --python = python3) existiert nicht" Fehler

+0

HALLO Sonalika, werden die Leute Ihre Frage downvote, wenn Sie es nicht bearbeiten, weil es auf der Website Fragen Qualität entsprechen dosen't:) –

+0

Mögliche Duplikat [virtualenv auf Microsoft Windows 10 gibt Fehler: Der python3 Pfad nicht existieren] (https://stackoverflow.com/questions/46138803/virtualenv-on-windows10-gives-errorthe-path-python3-does-not-exist) – phd

Antwort

6

so etwas wie dies versuchen, hier C: /Python36/python.exe die vollständige Adresse des python3 ausführbaren geben

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

Wenn Sie bereits Python3 in Ihrem Pfad haben, versuchen Sie 'virtualenv -p python3.exe ENV' –

0

Verwenden Sie den vollständigen Pfad, um dieses Problem zu beheben.

$ 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. 
$