Installing python on maemo and Nokia N800
Python2.5 is needed when using pygtk on maemo, otherwise the default python2.3 may be enough.Add "deb http://repository.maemo.org/extras bora free non-free" to /scratchbox/users/maemo/target/SDK_ARMEL/etc/apt/sources.list
Terminal code
[*] > fakeroot apt-get update
[*] > fakeroot apt-get install python2.5*
or: (if dependencies fail when install python2.5*, which contains lots of unnecessary packages)
Terminal code
[*] > fakeroot apt-get update
[*] > fakeroot apt-get install python2.5-gtk2
[*] > fakeroot apt-get install python2.5-dev
[*] > fakeroot apt-get install python2.5-hildon
[*] > fakeroot apt-get install python2.5-osso
Do NOT remove python or python2.3 or python2.4 before install python2.5, since the python package from the repository is BROKEN. Once removed, never back ...
On N800, python2.5-runtime is needed.
Open Application catalogue (inside Tools, on the application's menu), and add following repositories:
Name:MaemoWeb address:http://repository.maemo.orgDistribution:boraComponents:free non-free
Name:Maemo ExtrasWeb address:http://repository.maemo.org/extrasDistribution:boraComponents:free non-free
Refresh package list, and then you'll see python2.5-runtime package, which will automatically pull all available python bindings, but not the development packages.
Or, just download python2.5 directly from below:
http://pymaemo.garage.maemo.org/installation.html
页:
[1]