`
bcyy
  • 浏览: 1824300 次
文章分类
社区版块
存档分类
最新评论

Openwrt python,openwrt上使用Python

 
阅读更多
需要安装libffi,python-mini,python。libffi以及python-mini需要安装在python之前

wget -c http://downloads.openwrt.org.cn/backfire/10.03.1/brcm63xx/packages/libffi_3.0.9-1_brcm63xx.ipk
wget -c http://downloads.openwrt.org.cn/backfire/10.03.1/brcm63xx/packages/python-mini_2.6.4-3_brcm63xx.ipk
wget -c http://downloads.openwrt.org.cn/backfire/10.03.1/brcm63xx/packages/python_2.6.4-3_brcm63xx.ipk
安装这几个包
opkg install libffi*.ipk
opkg install python-mini*.ipk
opkg install python_2*.ipk


下载setuptools

http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086

安装easy_install

sh setuptools-0.6c11-py2.6.egg

安装Pip

easy_install pip 



  


  
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics