Update PyDev import paths in Eclipse

I am using Eclipse Helios under Ubuntu.

Whenever I install a new library under /usr/local/lib/python2.6/dist-packages/ using pip , Eclipse does not see it and complains about invalid imports. I double checked the library in place. Import is carried out from the interpreter. Updating PyDev configuration or restarting the IDE does not work. Note. The specified path is in the list of library paths on the Python interpreter tab.

Does anyone know about this medicine, and if not, how to track the actual cause.

+7
source share
1 answer

The problem was that I installed the library from the egg. Folders with eggs must be added manually or else PyDev will not see them. Something else confused me a bit in that I had a different version of the same library as the regular folder. However, there was no __init__.py in this folder.

+4
source

All Articles