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