关于MCC-118 Server.py 无法运行

Zhr83001 2021-10-14913 次点击
您好,我现在打算用MCC118读取三相电压数据并观察波形,想用示例程序中的连续采样和浏览器看图范例,但是在按照https://shumeipai.nxez.com/2018/10/18/get-started-with-the-evaluation-for-mcc-118.html中的要求,安装执行:pip install -Iv dash==0.30.0 dash-renderer==0.15.0 dash-html-components==0.13.2 dash-core-components==0.38.0
后,运行Server.py一直提示错误,信息如下:
Successfully installed Flask-1.1.4 Jinja2-2.11.3 MarkupSafe-1.1.1 Werkzeug-1.0.1 brotli-1.0.9 click-7.1.2 dash-0.30.0 dash-core-components-0.38.0 dash-html-components-0.13.2 dash-renderer-0.15.0 flask-compress-1.10.1 itsdangerous-1.1.0 plotly-4.14.3 retrying-1.3.3 six-1.16.0
Cleaning up...
Removed build tracker '/tmp/pip-req-tracker-P16zp6'
pi@raspberrypi:~ $ cd ~/daqhats/examples/python/mcc118/web_server
pi@raspberrypi:~/daqhats/examples/python/mcc118/web_server $ ./web_server.py
Traceback (most recent call last):
File "./web_server.py", line 145, in <module>
value=[0]
File "/home/pi/.local/lib/python2.7/site-packages/dash/development/base_component.py", line 88, in wrapper
return func(*args, **kwargs)
File "/home/pi/.local/lib/python2.7/site-packages/dash_core_components/Checklist.py", line 46, in __init__
super(Checklist, self).__init__(**args)
File "/home/pi/.local/lib/python2.7/site-packages/dash/development/base_component.py", line 133, in __init__
', '.join(sorted(self._prop_names))
TypeError: Unexpected keyword argument `value`
Allowed arguments: className, id, inputClassName, inputStyle, labelClassName, labelStyle, options, style, values

还望各位大神给解读一下问题出在哪?如何解决,谢谢!
收藏 ♥ 感谢
暂无回复

登录注册 后可回复。




› 相关内容关注微信公众号