今天在使用yolov5和node.js连通的时候,出现了下面的错误:
AttributeError: 'module' object has no attribute 'create_connection'
解决方法
pip uninstall websocket
pip install websocket-client
原因是包装错了。
参考文献
[1].Python Websockets Module has no attribute. https://stackoverflow.com/questions/40212252/python-websockets-module-has-no-attribute