[pygtk] problems on installing PyGTK in Windows XP

Firat Ozgul ozgulfirat at gmail.com
Thu Oct 22 13:08:57 WST 2009


Hello,

I think there is an incompatibility between the latest packages. I had the
same problem, and this is how I solved it:

1. Uninstall GTK and Pygtk.

2. Then download these packages:

-- 
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.6-20090911_win32.zip

-- 
http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.4/pycairo-1.4.12-2.win32-py2.6.exe

-- 
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/pygobject-2.14.2-2.win32-py2.6.exe

-- 
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.12/pygtk-2.12.1-3.win32-py2.6.exe

3. All packages have their own installers, except for the first one. You can
double-click on the installers to install the packages.

4. As for the first bundle... Extract its contents into a folder named "GTK"
in the C drive. Then add "C:\GTK\bin" folder to your PATH variable.

Regards,
Firat

2009/10/22 Yang Yang <yyangbian at gmail.com>

> Python 2.6.3 is installed on my Windows XP throught the binary file
> provided by Python.org. Then I followed the steps described here:
>
> http://faq.pygtk.org/index.py?req=show&file=faq21.001.htp
>
> to install PyGTK. However, I still get the following error:
> >>> import pygtk
> >>> pygtk.require('2.0')
> >>> import gtk
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py", line
> 48, in <mod
> ule>
>     from gtk import _gtk
> ImportError: DLL load failed: The specified module could not be found.
>
> I googled this problem and noticed that there are quite a few people
> having the same problem. But I am unable to find anything which helps
> me solve this problem.
>
> Could you please give me some suggestions?
> Thanks!
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20091022/f128e0b3/attachment.htm 


More information about the pygtk mailing list