AttributeError: ‘module‘ object has no attribute ‘create_connection‘

网友投稿 1727 2022-08-22 17:45:03

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小时内删除侵权内容。

上一篇:基于强化学习的股票量化交易Automated-Stock-Trading-Ensemble-Strategy
下一篇:streamlit TypeError: Plain typing.NoReturn is not valid as type argument
相关文章