Cant add additional Python Interpreter (Python3.5) in Eclipse (currently Python2.7) -
i using python2.7 , needed import pyqt5.qtcore wanted install pip install pyqt5. recognized possible higher version. installed python3.5 , installed package. far good.
now wanted change python interpreter window -> preferences -> pydev -> interpreter - python -> new.. -> browse -> c:\users\user\appdata\local\programs\python\python35-32 -> python.exe
a prompt with:
python doesnt work anymore opened.
problemdetails showed:
problemsignatur: problemereignisname: appcrash anwendungsname: python.exe anwendungsversion: 3.5.150.1013 anwendungszeitstempel: 55f4dcca fehlermodulname: ucrtbase.dll fehlermodulversion: 10.0.10586.788 fehlermodulzeitstempel: 5879aa7b ausnahmecode: 40000015 ausnahmeoffset: 0008469a betriebsystemversion: 6.1.7601.2.1.0.256.48 gebietsschema-id: 1031 zusatzinformation 1: 8bb9 zusatzinformation 2: 8bb9472aa5ef366a719aa187ee7b3438 zusatzinformation 3: 315a zusatzinformation 4: 315a6e0e2399a4b1af426d364bf10f21
so had press close program , following error message opened:
error getting info on interpreter. common reasons include:
-using unsupported version (python , jython require @ least version2.1 iron python 2.6).
-specifying invalid interpreter (usually link actual interpreter on mac or linux) reason: see error log details.
details showed:
see error log details. no output in standard output when trying create interpreter info. error output contains:>>fatal python error: py_initialize: unable load file system codec file "c:\python27\lib\encodings__init__.py", line 123 raise codecregistryerror,\ ^ syntaxerror: invalid syntax
current thread 0x00000acc (most recent call first): <<
further information:
i changed pythonpath "c:\users\qi11473\appdata\local\programs\python\python35-32\lib"
and pythonhome "c:\users\qi11473\appdata\local\programs\python\python35-32"
in terminal, can run py -3 successfully.
Comments
Post a Comment