塞门

入驻于 2021-04-28 / MAKE 主页

塞门 创作的主题
暂时木有~ :)


塞门 发表的回复
回复了 shuaiweili 创建的主题 技术支持 / mcc118运行web_server.py报错
2021-05-07

我用python3 一样不行啊,具体要怎么处理?

pi@raspberrypi:~/daqhats/examples/python/mcc118/web_server $ python3 ./web_server.py
Traceback (most recent call last):
File "./web_server.py", line 145, in <module>
value=[0]
File "/home/pi/.local/lib/python3.7/site-packages/dash/development/base_component.py", line 88, in wrapper
return func(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/dash_core_components/Checklist.py", line 46, in __init__
super(Checklist, self).__init__(**args)
File "/home/pi/.local/lib/python3.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