PyDev Eclipse Python interpreters Error: stdlib not found

前端 未结 12 1196
太阳男子
太阳男子 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

    Had the same problem. Eclipse wouldn't find all the required path using the default installed python (2.6). I downloaded python 2.7, went through the install. My new "which python" path became:

    /Library/Frameworks/Python.framework/Versions/2.7/bin/python.

    When I tried to set up the interpreter this time, specified this path and it went right through.

    Note:

    1. Browse to /Library/Frameworks/Python.framework/Versions/2.7/bin directory
    2. Select the python interpreter that's installed. Sometimes the 'python' link doesn't exist to the current interpreter (say, python3)

提交回复
热议问题