[maemo-developers] [maemo-developers] Python2.5 in maemo 3.0 SDK

From: David slugplayer at free.fr
Date: Sat Jan 20 22:38:37 EET 2007
Hi
The first time I installed the SDK with python2.5, all works fine.

But after a problem with some deb packages, I install the SDK one more 
time ( Yes, It is not a solution....)

Now, I can't import gtk module :

[sbox-SDK_X86: /] > python2.5
Python 2.5 (r25:9103, Jan 15 2007, 16:50:56)
[GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init 
__.py", line 83, in <module>
  File 
"debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init 
__.py", line 70, in _init
NameError: global name '_gtk' is not defined

google don't help me :-(

Any suggestion ?

Thanks.

David.

More information about the maemo-developers mailing list