Skip to content Skip to sidebar Skip to footer

Pydev Issue With Gobject

It seems that Pydev (1.5.4) on Eclipse (3.5.1) with Python 2.6 isn't able to correctly cross-reference the package gobject. Putting import gobject works OK but any more than that

Solution 1:

The issue is related to this limitation of PyDev:

I have a library installed and Pydev does not find it

Well, problems have been reported on Mac and Linux, and the main reason seems to be symlinks. Pydev will only find extensions that are 'really' below the python install directory. This happens because the 'less common denominator', which in this case is windows, does not have symlinks. A workaround to this problem includes manually adding the given folder installation to the pythonpath or changing the installation of the package to be under the site-packages folder.

To adjust for this limitation, find the absolute path to the library and update the libraries associated with the interpreter for Pydev.

Post a Comment for "Pydev Issue With Gobject"