Catalin,

Which version of pygtk and gtk (win32 bundle?) do you use?

Regards,
Marko Tasic


On Sun, Mar 13, 2011 at 10:43 AM, Catalin <[email protected]> wrote:

> Hi
> I try to make working pygtk and gtk under python27.
> I read tutorials and i set gtk with this:
> I add on enviroment path vars : C:\gtk\bin
>
> C:\gtk\bin>pkg-config --cflags gtk+-2.0
> -mms-bitfields -IC:/gtk/include/gtk-2.0 -IC:/gtk/lib/gtk-2.0/include
> -IC:/gtk/in
> clude/atk-1.0 -IC:/gtk/include/cairo -IC:/gtk/include/gdk-pixbuf-2.0
> -IC:/gtk/in
> clude/pango-1.0 -IC:/gtk/include/glib-2.0 -IC:/gtk/lib/glib-2.0/include
> -IC:/gtk
> /include -IC:/gtk/include/freetype2 -IC:/gtk/include/libpng14
>
> C:\gtk\bin>
>
> This is the errors i got:
>
> >>> import pygtk
> >>> import gtk
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "C:\Python27\lib\site-packages\gtk-2.0\gtk\__init__.py", line 30, in
> <mod
> ule>
>    import gobject as _gobject
>  File "C:\Python27\lib\site-packages\gtk-2.0\gobject\__init__.py", line 26,
> in
> <module>
>    from glib import spawn_async, idle_add, timeout_add,
> timeout_add_seconds, \
>  File "C:\Python27\lib\site-packages\gtk-2.0\glib\__init__.py", line 22, in
> <mo
> dule>
>    from glib._glib import *
> ImportError: DLL load failed: The specified procedure could not be found.
> >>>
>
> Also , I think it is need to make something with pygtk and gtk ,
> because I saw on internet is
> many tasks about pygtk and gtk  and errors .
> Can you help me with one solution to make working pygtk and gtk .
>
>
> --
> My sites:
> http://catalin-festila.blogspot.com -about me
> http://tv.free-tutorials.org - video tutorials
> http://python-catalin.blogspot.com - my python blog
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to