[Debian-olpc-devel] python-gtk: ImportError: No module named cairo
Jonas Smedegaard
dr at jones.dk
Sun May 11 21:14:48 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, May 11, 2008 at 01:27:39PM -0700, Shaun Jackman wrote:
>Both sugar-emulator and pychess fail with the same GTK+/Cairo related message:
>$ pychess
>Traceback (most recent call last):
> File "/usr/games/pychess", line 9, in <module>
> import gtk, gtk.glade, gettext
> File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py",
>line 48, in <module>
> from gtk import _gtk
>ImportError: No module named cairo
>
>I have both python-gtk and python-cairo installed. I recently upgraded
>to python2.5.
Try reinstalling python-gtk and python-cairo - I experienced something
similar with other Python libraries in the days right after the switch
to Python-2.5 (I suspect it was an error in python-support and/or
python-central which was fixed shortly after but might have caused
broken installations).
Please repost this email to the bugreport, and respond to both the
bugreport and the OLPC mailinglist.
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
- Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIJ2HIn7DbMsAkQLgRAvCBAJ9IOjokBa/i1HzefO/IbNDFHHgQxgCgjct2
LcpzsSu0bvTZeaWY5S4+xVY=
=Nnjo
-----END PGP SIGNATURE-----
More information about the Debian-olpc-devel
mailing list