AttributeError: 'module' object has no attribute 'enableTrace'

2023-03-05,,

Traceback (most recent call last):
File "Long-lived-connection.py", line 29, in <module>
websocket.enableTrace(True)
AttributeError: 'module' object has no attribute 'enableTrace'

python 出现如上错误是 安装的模块不整错 需要重新安装正确的模块

pip uninstall websocket-client
pip uninstall websocket
pip install websocket-client

  

AttributeError: 'module' object has no attribute 'enableTrace'的相关教程结束。

《AttributeError: 'module' object has no attribute 'enableTrace'.doc》

下载本文的Word格式文档,以方便收藏与打印。