PyGTK Downloads
Install PyGTK!
PyGTK for Microsoft Windows using the all-in-one installer
For greater convenience, you can use the all-in-one installer which handles all of the PyGTK dependencies, development tools (GUI designer and translation tools) and other additional modules for you.
You will only need to install a 32 bit Python interpreter before starting the all-in-one installer.
The all-in-one installer lets you choose the components to install so you can get a fully customized install.
PyGTK for Microsoft Windows using separate components
In order to install PyGTK on Windows, without using the all-in-one bundle, you need:
- A 32 bit Python interpreter.
- The GTK+ runtime. We recommend that you install it using
the official GTK+ bundle for
32-bit or
64-bit windows
(gtk+-bundle*.zip files). Just choose the latest version available.
To fully install this bundle you need to uncompress its contents in a folder and manually add the bin subfolder to the system path. - The PyGTK,
PyCairo and
PyGObject
modules (available from this site, just follow the links and choose the latest
version).
When downloading them, you must make sure that the PyCairo, PyGObject and PyGTK versions fit the corresponding Python interpreter version and you have a relatively recent GTK+ runtime. The python version used to build those extensions is written in the installer name (e.g. 'py2.6' for Python 2.6).
A great companion for helping you develop your PyGTK applications is the Glade user interface designer.
You can find more detailed instructions on the PyGTK FAQ.
PyGTK for Linux
PyGTK is included in most Linux distributions (including Debian, Fedora, Ubuntu, Opensuse, Gentoo, Mandrake, Redhat, SUSE...); the source code can also be downloaded and compiled from the links below.
Get the sources!
Current stable release
2.24 series
The latest release of PyGTK for GTK+ 2.24 is available from the following website:
Current development version
Alternatively, you can get the bleeding edge version of PyGTK from
the GNOME Git server git.gnome.org. Checkout
the module pygtk, or if you want the GNOME extensions, just
get the module gnome-python Like this:
git clone git://git.gnome.org/pygtk git clone git://git.gnome.org/gnome-python git clone git://git.gnome.org/gnome-python-desktop git clone git://git.gnome.org/gnome-python-extras
More information on accessing and using GNOME's Git server is available at the Gnome developer site.
Be aware that PyGTK has some dependencies like pygobject that are needed to run it.
Python GNOME
If you want to make use of the Gnome libraries in your application, you will also need to install some other packages, such as the PyORBit, gnome-python, gnome-python-desktop or gnome-python-extras packages. They are available from the Gnome FTP site and its mirrors:
- http://ftp.gnome.org/pub/GNOME/sources/pyorbit/
- http://ftp.gnome.org/pub/GNOME/sources/gnome-python/
- http://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop/
- http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras/
Older PyGTK versions
2.x series
Older PyGTK releases for GTK+ 2.x are available from the following website:
1.2 series
The latest release of PyGTK for GTK+ 1.2.x can be found at the following site:
If you are writing a new program, we strongly recommend that you use the latest GTK+ 2.x.
Build PyGTK!
Both PyGTK and PyGObject sources have information on how to build the extensions. This includes support to create binary installers using distutils, to ease development on Windows.
Build instructions files:
