matplotlib, gtk, and libpangocairo problem

Dexter Douglas luomo1138 at yahoo.com
Wed Jul 2 14:49:44 PDT 2008


Hello,

I am trying to run some matplotlib examples.  I get the error below.  All of my ports are up-to-date.  Does anyone know what is wrong?

Thanks.

[begin error]
File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.p
y", line 7, in <module>
    import gtk; gdk = gtk.gdk
  File "/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in <module>
    from gtk import _gtk
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, 2): Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so
  Reason: Incompatible library version: _gtk.so requires version 2003.0.0 or later, but libpangocairo-1.0.0.dylib provides version 2001.0.0
[end error]


      


More information about the macports-users mailing list