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