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

Adam Mercer ramercer at gmail.com
Tue Dec 11 13:50:27 WST 2007


Has anyone got any suggestions on solving this?  As currently all
packages that use the python gobject bindings are broken on Mac OS X
Leopard...

Cheers

Adam

On Dec 8, 2007 10:26 PM, Adam Mercer <ramercer at gmail.com> wrote:
> 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