[pygtk] run time error with pygobject 2.14.0 on Mac OS X Leopard

Adam Mercer ramercer at gmail.com
Sun Dec 9 12:26:13 WST 2007


Hi

I'm trying to use PyGObject-2.14 on Intel Mac OS X Leopard from
MacPorts and whenever I try to import the gobject module, I get the
following error:

>>> import gobject
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/var/macports/build/_Users_ram_opt_macports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
line 30, in <module>
  File "/opt/local/var/macports/build/_Users_ram_opt_macports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py",
line 22, in <module>
ImportError: dlopen(/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so,
2): Symbol not found: _PyGBoxed_Type
  Referenced from:
/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so
  Expected in: flat namespace

>>>

Any ideas?

Cheers

Adam


More information about the pygtk mailing list