[pygtk] pygtk DLL load failed

Firat Ozgul ozgulfirat at gmail.com
Thu Jan 7 16:39:26 WST 2010


Maybe it is because your pycairo version does not match the version of the
Python you use... (pycairo is 2.5, python is 2.6...). Also make sure that
C:\GTK\bin is in your PATH.

2010/1/7 YAN KONG <pother at msn.com>

>  Hi guys:
>
> Newbie here. I try to install pygtk following the steps. However after
> everything is finished, when I try to import gtk. I got an "ImportError: DLL
> load failed: A dynamic link library (DLL) initialization routine failed."
> The error are thrown within
>
> C:\Python26\Lib\site-packages\gtk-2.0\gtk\__init__.py
> line 48:  from gtk import _gtk
>
> I use python2.6
> gtk2-runtime-2.16.6.
> pycairo-1.4.12-2.win32-py2.5.exe
> pygobject-2.14.2-2.win32-py2.6.exe
> pygtk-2.12.1-3.win32-py2.6.exe
>
> after I almost completely give up on it. I found out, everytime after I
> import tables, I can import gtk successfully. The two modules seems
> completely irrelavant.
>
>
> Thanks
>
> Yan
>
>
>
> ------------------------------
> Hotmail: Free, trusted and rich email service. Get it now.<http://clk.atdmt.com/GBL/go/196390708/direct/01/>
>
> _______________________________________________
> 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/20100107/faa9302a/attachment.htm 


More information about the pygtk mailing list