FAQ Index - Search - Recent Changes - Everything - Add entry

<< Previous Entry | FAQ Entry 21.1 | Next Entry >>

21.1. How do I get PyGTK running on MS Windows?

The easiest way to install PyGTK is by following these steps:

To check if everything is working correctly, run this script from a file or inside the Python interactive console:

  import gtk

  window = gtk.Window()
  window.set_title("PyGTK Test Window")
  window.connect("destroy", gtk.main_quit)
  window.show_all()

  gtk.main()
NOTE: Be sure to check if you already have a GTK+ 2.10 runtime installed, this may cause conflicts with others applications using the GTK+ runtime, like GIMP.

There are some older versions of pygtk still available:

PyGTK FAQ Wizard | PyGTK Homepage | Feedback to faq at pygtk.org