On Fri, Oct 04, 2002 at 12:05:38AM +0200, Grzegorz Adam Hankiewicz wrote:
> > > Thank you very much. BTW, some names have changed, and the win32 gtk
> > > page says you need libjpeg-6b, zlib, freetype2, tiff and libpng too,
> > > or is that only for gimp?
I've tried now, and if you mindlessly follow the instructions it won't
work. First if all, the list of packages at this moment is:
libiconv-1.7-w32.bin.zip
libintl-0.10.40-tml-20020904.zip
glib-2.0.6-20020802.zip
gtk+-2.0.6-20020921.zip
atk-1.0.3-20020821.zip
pango-1.0.4-20020921.zip
After installation pygtk doesn't work because some DLL import failed:
>>> import gtk, gtk.glade
Traceback (most recent call last):
File "<pyshell#0>", line 1, in ?
import gtk, gtk.glade
File "C:\PYTHON22\Lib\site-packages\pygtk\gtk\__init__.py", line 14, in ?
import gobject
ImportError: DLL load failed: No se puede hallar uno de los archivos de biblioteca
necesarios para ejecutar esta aplicaci�n.
>>>
The problem is in the libiconv-1.7-w32.bin.zip file, which doesn't
uncompress correctly into the %gtkdir% tree structure, instead, it
creates a libiconv-1.7-w32.bin directory. So I manually copied the dll
files to ../lib, and the exe to ../bin, and then everything worked and
I could run my pygtk2 examples without problems.
Please update this into the faq.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/