On Fri, May 21, 2010 at 4:22 AM, Stephen George <[email protected]> wrote: > > Hi Jeenu, > > On 20/05/2010 11:30 PM, Jeenu V wrote: >> >> Hi, >> >> I'm trying to get PyGtk on Windows XP. For that, I installed (in that >> order), Active Python 2.6 (installed in c:\python26), GTK 2.16 run >> time bundle (downloaded from http://www.gtk.org/download-windows.html, >> extracted to c:\gtk-runtime, and added c:\gtk-runtime\bin to %PATH%), >> PyGtk 2.16 installer (downloaded from >> http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.16/). All >> installations went fine. However, I get the following error when I try >> to import pygtk. This is what I've got: >> > > While I've never used Active State's version of python, but your procedure > sounds about right, but you have not mentioned if you installed pygobject > and pycairo also. > http://www.pygtk.org/downloads.html > > I don't know how pygtk behaves if they are not installed, so don't know if > that's a problem.
Thanks Stephen. Actually I hadn't installed PyCairo and PyGObject. Now that I've installed them, I could bring up a top-level GTK window. But the downloads page doesn't mention that PyCairo and PyGObject has to be installed to PyGtk to work, while it does explicitly mention Python interpreter and GTK runtime. "In order to install PyGtk in windows, you will also need a Python interpreter and the GTK+ runtime." I think it makes sense to update the description to mention the dependencies over PyCairo and PyGObject too. -- :J _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
