Can't run python apps - ImportError: No module named cairo

Steven ** montgoss at gmail.com
Mon Aug 18 03:37:46 CEST 2008


I've tried a couple of different python apps, and they all have the same error:
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
line 48, in <module>
    from gtk import _gtk
ImportError: No module named cairo

I have the following cairo packages installed:
libcairo2 - 1.6.4-r1 -
python-pycairo - 1.4.0-ml1 -

I searched around and found some Suse bug that had the same error.
They wanted people to list the contents of
"/usr/lib/python2.5/site-packages/cairo", but that directory doesn't
even exist for me.  What am I missing?

Thanks,
Steven



More information about the support mailing list