[maemo-users] [maemo-users] how to test python 2.4 code with gtk and libglade on development system (SDK_PC)

From: Dave Cridland dave at cridland.net
Date: Wed Feb 7 11:24:49 EET 2007
On Tue Feb  6 23:01:52 2007, Jeff G wrote:
> I tried running a python program under scratchbox, and it fails when
> importing gtk.
It sounds like you're running with the scratchbox python.

> any ideas of how to "install" what I need.  the app installer is NOT
> available in the provided UI.

echo 'deb http://repository.maemo.org/extras/ bora free non-free' 
fakeroot apt-get update
fakeroot apt-get install python2.5-runtime python2.5-dev

Then launch your app with:

run-standalone.sh /usr/bin/python2.5 myscript.py

I think that should do it.

Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

More information about the maemo-users mailing list