[pygtk] Importing Error

Marco Antonio Islas Cruz markuz at islascruz.org
Sat Apr 3 23:22:58 WST 2010


Can you tell us you Gtk version and your PyGTK version?

On Sat, 2010-04-03 at 17:45 +0530, Manjot Pahwa wrote:
> Hello,
> 
> 
> When I try to import gtk in PythonWin, I get the following error
> message:
> 
> 
> C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py:40:
> RuntimeWarning: tp_compare didn't return -1 or -2 for exception
>   from gtk import _gtk
> ImportError: could not import gio
> ImportError: could not import gio
> 
> 
> No problems with importing pygtk. Can anyone suggest solutions?
> 
> 
> Regards,
> Manjot Pahwa
> Research Engineer
> Software for Education, Entertainment and Training Activities (SEETA)
> 
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/

-- 
<--Linux... Because I'm Free-->
Marco Antonio Islas Cruz
"Markuz"
Linux User #280229
markuz at islascruz.org
markuz at unixmexico.org
markuz at linuxpozarica.com
marco.islas at gmail.com
islacruz at yahoo.com
http://www.islascruz.org
http://wwww.christine-project.org
http://www.linuxpozarica.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20100403/c67670ad/attachment.pgp 


More information about the pygtk mailing list