Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (44 sloc) 2.198 kb


The pygtk-installer project provides:

  • a tool that builds glade3 binaries for mswindows with "Python Widgets Support".
  • a tool that builds windows installer packages (both .exe and .msi) for pycairo, pygobject, pygtk, pygoocanvas, pygtksourceview and pyrsvg.
  • a tool that generates an all-in-one installer bundling the separate .msi installers created by and the gtk+ runtime packages from


The all-in-one installers' version number does not map directly to the pygtk version number. This is a requirement to support windows installer major upgrades. The version number is constructed as follows:



The all-in-one installer should be considered as a proof of concept. Please do not use it on productions systems just yet.

If you decide to give it a test anyway:

  1. Make absolutely sure the separate pycairo, pygtk, pygobject, etc packages are uninstalled. The all-in-one installer does not yet check for their presence and will happily overwrite them.

  2. You no longer need to fiddle with the PATH environment variable. The pygtk version that's installed with the all-in-one installer should take care of loading the included gtk+ runtime on PATH when you import pygtk; pygtk.require('2.0'). As a consequence simply importing gobject, gtk, etc might not work without the .require() call. The .require() call is typically done only once in a startup script somewhere.

  3. Why did you say "might not work" above? Ah, good question. If you've got another gtk+ runtime on your PATH environment variable - for example you installed Dia, MonoDevelop (gtk#), etc. - the PyGtk bindings might use one of those runtime libraries. In that case the behavior of the PyGtk bindings is unspecified (it might crash, error out, etc.).

  4. If it doesn't work, consider executing the following and study the output:

    $ python -v
    >>> import pygtk
    >>> pygtk.require('2.0)
Jump to Line
Something went wrong with that request. Please try again.