I just joined this list, and with the express purpose of asking about this same installation problem. Unfortunately, I have already tried using the installers referred to above, but it hasn't helped. Let me add two other odd tidbits to my problems:
(1) Sometimes "import gtk" fails the first time, but works if I do it again immediately afterward;
Strange. are you sure you have the latest GTK+ DLLs in your PATH and not leftovers in, say, C:\WINDOWS\SYSTEM32 from a previous installation ?
(2) Even if it does work the second time, I can never successfully "import gtk.glade".
I guess the gtk.pyd file is not loaded properly in you case and that's why you can never load gtk.glade successfully
I would appreciate any help I can get, as I have been banging my head on the wall trying to get this to work for a week.
1. Install the GTK+ runtime from http://www.dropline.net/gtk/
2. Modify your (user/system) PATH environment variable and add the directory containing the gtk+ DLLs. For a standard install, this should be C:\Program Files\Common Files\GTK\2.0\lib.
3. Install pygtk
4. From python, try to load the gtk module with 'import gtk'. It should work immediatly, not at the second attempt !
5. If it succeeds, try to load the glade module with 'import gtk.glade'
For more information, see http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.002.htp
I'm sorry about this PATH problem but I'm not the maintainer of the GTK+ runtime installer.
Cedric
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
