PyDev Eclipse Python interpreters Error: stdlib not found

前端 未结 12 1392
太阳男子
太阳男子 2021-02-02 10:24

I have been trying to use Eclipse 3.6 as a Python editor. I install the latest version of PyDev, and then try to set the Interpreter - Python field of the preferences, on my ma

12条回答
  •  不要未来只要你来
    2021-02-02 10:56

    PyDev needs the location of the python lib folder to get this directory location on your computer try running this command in the terminal.

    python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
    

    And add that directory to your PYTHONPATH location in PyDev in Eclipse.

提交回复
热议问题