IR900 python本地安装模块

当IR900不具备上网条件时,不能通过Open Device Package Tool 安装模块,如何本地安装模块?
已邀请:
以安装nyamuk为例
 1 下载package

https://files.pythonhosted.org/packages/de/44/1a25ae956b13341cb2e3d54d1dc3d3cdd3a687f6e226f5f850848133767a/nyamuk-v0.2.0.tar.gz


2 将文件通过winscp 传到/var/app/



2.解压 
通过SeureCRT 或者Open Device SSH 连接到网关
 
 
 
解压缩文件。~ $ tar -zxv -f nyamuk-v0.2.0.tar.gz

3.进入解压目录 ~ $ cd nyamuk-0.2.0/

4.运行解压目录里的setup.py 文件   python setup.py install  --user~/nyamuk-0.2.0 $ python setup.py install --user
以安装nyamuk为例
 1 下载package

https://files.pythonhosted.org/packages/de/44/1a25ae956b13341cb2e3d54d1dc3d3cdd3a687f6e226f5f850848133767a/nyamuk-v0.2.0.tar.gz


2 将文件通过winscp 传到/var/app/



http://www.m2mlib.com/uploads/answer/20191021/eac58295602afd2b307107586500d397.png



http://www.m2mlib.com/uploads/answer/20191021/31ab73770b1f989b4b2ffdc903fdc425.png




2.解压 
通过SeureCRT 或者Open Device SSH 连接到网关
 
 

http://www.m2mlib.com/uploads/answer/20191021/3ffff738e755b975fde0539bc8460418.png




http://www.m2mlib.com/uploads/answer/20191021/36abc2939a6146c62cf4571307625dad.png




http://www.m2mlib.com/uploads/answer/20191021/e06f8e3bcbfce4ca1334b43439d1bf24.png


 
解压缩文件。~ $ tar -zxv -f nyamuk-v0.2.0.tar.gz

3.进入解压目录 ~ $ cd nyamuk-0.2.0/

4.运行解压目录里的setup.py 文件   python setup.py install  --user~/nyamuk-0.2.0 $ python setup.py install --user

要回复问题请先登录注册