Eclipse and python: library will import in interprer, but not in IDE

前端 未结 2 327
粉色の甜心
粉色の甜心 2021-01-25 06:33

I\'m running Windows 7, Python 2.6.4 and the latest version of Eclipse. I downloaded the boto library (http://code.google.com/p/boto/) and ran python setup.py install, which cr

相关标签:
2条回答
  • 2021-01-25 07:14

    From the comment so can be marked as answered

    In Preferences->Pydev->interpreter - Python what is the System libs value

    0 讨论(0)
  • 2021-01-25 07:19

    For libraries that are required only in a single project, the best practice is to add them to the Project's PYTHONPATH and not the SYSTEM PYTHONPATH.

    This is done by right clicking on the project -> Properties -> PyDev-PYTHONPATH -> External Libraries and then adding the required library using Add zip/jar/egg.

    0 讨论(0)
提交回复
热议问题