Re: pycairo ImportError: No module named gi.repository



Hello pacocap,

pacocap yahoo com [2013-01-03 16:03 -0800]:
> from gi.repository import Gtk, Gdk, GdkPixbuf 
> 
> I get the error: 
> 
> ImportError: No module named gi.repository 
> 
> I am using Python 2.7.3 on Windows XP. I installed gtk+-bundle_2.24.10-20120208_win32, pygtk-all-in-one-2.24.2.win32-py2.7, pycairo-1.8.10.win32-py2.7, and pygobject-2.28.3.win32-py2.7. 

gi.repository is from the new "gobject introspection" paradigm of
GNOME 3. You will need PyGObject 3.x for this. However, there are no
readymade Windows builds for this AFAIK, you need to build these
yourself from the tarballs for the time being. Please note that we get
almost no feedback from Windows users, so I cannot say how well these
actually work at the moment.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]