[pygtk] how to install pyGTK

John Pye john.pye at student.unsw.edu.au
Wed May 31 09:28:32 WST 2006


Hi,

You need to install GTK+ first, then install PyGTK. If you haven't yet
installed GTK+, then I'd suggest using GTK+ 2.6.10-rc1 from this page:
http://gladewin32.sourceforge.net/modules/wfdownloads/viewcat.php?cid=8

This will also install the Glade interface builder, which you will find
useful.

Make sure that if you install GTK+ 2.6 that you install the
corresponding PyGTK 2.6 and make sure you select the correct one for the
version of Python you are using.
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/binaries/pygtk-2.6.3-1.win32-py2.4.exe

After installing GTK+, check that the demo program in the start menu is
working correctly, and check that you can run Glade. Then it's probably
a good idea to try to run a 'hello world' example program with PyGTK,
just to check that everything's working as expected. Let us know if you
still have problems.

Cheers
JP

Magnus Therning wrote:

>On Tue, May 30, 2006 at 09:14:13 -0700, arya jain wrote:
>  
>
>>hi i am new to python. i am consulting a book under wrox publication
>>(beginning python) and just reached to a chapter on python GUI. now i
>>am not able to install the graphic tool kit pyGTK from the site
>>mentioned in the book. it is not like the regular installation i do on
>>windows.
>> can u please tell me the step by step procedure to do it right from
>>the begining including the support software. i will be thankful. i am
>>planning to make the game of chess on python which i will present in my
>>collage. 
>> o/s used windows XP home
>> python 2.4 
>>    
>>
>
>Where do you get stuck?
>
>From the official PyGTK page (http://www.pygtk.org/) I followed the link
>named "downloads". Then I went to Cedric Gustin's page for th Win32 port
>(http://www.pcpm.ucl.ac.be/~gustin/win32_ports/). Then I clicked on the
>link "pygtk on win32". There I found executable files that'll install
>PyGTK.
>
>Do you run into problems after that?
>
>/M
>


More information about the pygtk mailing list