使用python eclipse给设备安装modbus_tk包遇到问题?这是什么原因呢?求大神协助!
环境:win7安装的python2.7.10, 路由器的型号是IR915L TL-01-W-S 固件版本为1.0.0.r9276 SDK版本 为 1.3.1
网络使用WiFi和SIM卡都试过,
卸载里面的程序包也不行。。。。
这是报错信息:Collecting modbus_tk==0.5.4
Using cached modbus_tk0.5.4.tar.gz
Collecting pyserial==3.1 (from modbus_tk==0.5.4)
Using cached pyserial3.1py2.py3noneany.whl
Installing collected packages: pyserial, modbustk
31mException:Traceback (most recent call last): File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpipbasecommand.py", line 215, in main status = self.run(options, args) File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpipcommandsinstall.py", line 317, in run prefix=options.prefix_path, File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpipreqreq_set.py", line 742, in install **kwargs File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpipreqreq_install.py", line 831, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpipreqreq_install.py", line 1032, in move_wheel_files isolated=self.isolated, File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpipwheel.py", line 346, in move_wheel_files clobber(source, lib_dir, True) File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpipwheel.py", line 287, in clobber ensure_dir(dest) # common for the 'include' path File "varpycorelibpython2.7sitepackagespip8.1.2py2.7.eggpiputils__init__.py", line 83, in ensure_dir os.makedirs(path) File "varpycorelibpython27.zipos.py", line 150, in makedirs makedirs(head, mode) File "varpycorelibpython27.zipos.py", line 150, in makedirs makedirs(head, mode) File "varpycorelibpython27.zipos.py", line 157, in makedirs mkdir(name, mode)OSError: Errno 30] Readonly file system: 'mntsdlib'0m
没有找到相关结果
已邀请:
3 个回复
gouxp
赞同来自: Admin
1、900未能链接到internet;
2、900链接到internet但是域名服务器无法解析python官网,请手动设置900的域名服务器地址;
3、Python SDK未能正确安装。请在cli中执行python reset来卸载IR900 的python环境,后重新安装。注意最新的sdk版本是1.3.3。请配合900最新的固件使用。
请确认以上信息。。。
capcoffee - Cov(1......n)
2. 运行 pip install modbus_tk
奇兵 - ▄︻┻┳═一…… ☆(>○<)
本地计算机是安装了,modbus_tk的包的。