Installing python on maemo and Nokia N800

本文介绍如何在Maemo平台上安装Python2.5,包括添加软件源、使用终端命令安装必需的Python2.5组件,并提供了一个直接下载链接。
AI助手已提取文章相关产品:

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
  1. [sbox-SDK_ARMEL: ~] > fakeroot apt-get update   
  2. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5*  

or: (if dependencies fail when install python2.5*, which contains lots of unnecessary packages)

Terminal code
  1. [sbox-SDK_ARMEL: ~] > fakeroot apt-get update   
  2. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5-gtk2   
  3. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5-dev   
  4. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5-hildon   
  5. [sbox-SDK_ARMEL: ~] > 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: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:

http://pymaemo.garage.maemo.org/installation.html

您可能感兴趣的与本文相关内容

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值