Re: [pygtk] Importing Error
The Gtk version is 2.16.6 and PyGtk version I use is 2.0 Regards, Manjot Pahwa On Sat, Apr 3, 2010 at 8:52 PM, Marco Antonio Islas Cruz < mar...@islascruz.org> wrote: > 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@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 > mar...@islascruz.org > mar...@unixmexico.org > mar...@linuxpozarica.com > marco.is...@gmail.com > islac...@yahoo.com > http://www.islascruz.org > http://.christine-project.org > http://www.linuxpozarica.com > > -- Manjot Pahwa Research Engineer Software for Education, Entertainment and Training Activities (SEETA) ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] Importing Error
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@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 mar...@islascruz.org mar...@unixmexico.org mar...@linuxpozarica.com marco.is...@gmail.com islac...@yahoo.com http://www.islascruz.org http://.christine-project.org http://www.linuxpozarica.com signature.asc Description: This is a digitally signed message part ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
[pygtk] Importing Error
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@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/