Openwrt python,openwrt上使用Python - Go语言中文社区

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 

                        
版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/gmszone/article/details/8521712
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-04-19 13:47:18
  • 阅读 ( 936 )
  • 分类:

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢