AttributeError: ‘module‘ object has no attribute ‘create_connection‘
AttributeError: ‘module‘ object has no attribute ‘create_connection‘
今天在使用yolov5和node.js连通的时候,出现了下面的错误:
AttributeError: 'module' object has no attribute 'create_connection'
解决方法
pip uninstall websocketpip install websocket-client
原因是包装错了。
参考文献
[1].Python Websockets Module has no attribute. https://stackoverflow.com/questions/40212252/python-websockets-module-has-no-attribute
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。