This simple script:
from gi.repository import Gtk
print "I'm happy"
Runs without problem when running as "Python Run" in PyDev (latest). But when trying to run the debugger, also as "Python Run", something has changed in the environment, and libraries fail to load:
pydev debugger: starting
Traceback (most recent call last):
File "C:\eclipse\plugins\org.python.pydev_3.2.0.201312292215\pysrc\pydevd.py", line1706, in <module>
debugger.run(setup['file'], None, None)
File "C:\eclipse\plugins\org.python.pydev_3.2.0.201312292215\pysrc\pydevd.py", line 1324, in run
pydev_imports.execfile(file, globals, locals) #execute the script
File "C:\Users\jpcaram\Dropbox\CNC\pcbcam\test_gi.py", line 1, in <module>
from gi.repository import Gtk
File "C:\WinPython-32\python-2.7.6\lib\site-packages\gi\__init__.py", line 27, in <module>
from ._gi import _API
ImportError: DLL load failed: The specified module could not be found.
I'm using WinPython-32 registered with Win 7 and, gi and Gtk where installed via pygi-aio-3.10.2-win32_rev12-setup.exe. Everything seems to be working normally outside PyDev/Eclipse.