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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Try:
echo 'deb http://repository.maemo.org/extras/ bora free non-free' 
 >>/etc/apt/sources.list
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.
-- 
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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux