安装好websocket之后,在使用websocket.WebSocketApp()函数的时候报错 原因是没有这个函数是少了包,执行以下操作即可解决 pip install websocket-client