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
or: (if dependencies fail when install python2.5*, which contains lots of unnecessary packages)
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: | Maemo |
Web address: | http://repository.maemo.org |
Distribution: | bora |
Components: | free non-free |
Name: | Maemo Extras |
Web address: | http://repository.maemo.org/extras |
Distribution: | bora |
Components: | 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: