![]() |
python GDK module?
I'm trying to get PyGPS to run on the tablet, and, after conquering the first obstacle by declaring "coding=utf-8" as line 2 of the pygps file, I run into the following error.
Code:
File "pygps", line 7, in <module> |
Re: python GDK module?
import gtk.gdk
|
Re: python GDK module?
Thanks, but that gives me the same error as just commenting out the "import GDK" line, namely
"python[5490]: GLIB WARNING ** default - Trying to register gtype 'GtkInvalidInputType' as flags when in fact it is of type 'GEnum'" I'm out of my depth here obviously, I don't really know Python, but if anyone has any more ideas, I'd appreciate them. |
Re: python GDK module?
try with:
import gtk.gdk as GDK |
Re: python GDK module?
No difference. I'm not even sure the problem is strictly related to GDK - I don't know when the source was updated, but the PyGPS web page hasn't been updated since 2005, and the program won't run on my laptop, either. It may be big changes in Python or other APIs.
|
All times are GMT. The time now is 03:32. |
vBulletin® Version 3.8.8