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

Jeremy Mortis mortis at ucalgary.ca
Tue Aug 19 01:51:55 CEST 2008


The python-pycairo package in daily-feeds is broken.

The package at Angstrom works:
http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/python/

You'll need to mess around with your /etc/opkg files to get this version 
rather than the daily-feeds one.

Cheers.



Steven ** wrote:
> 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
> 
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
> 
> 




More information about the support mailing list