1. De repente encontré el siguiente error en la línea de comando:
ImportError: cannot import name 'WebSocketApp' from 'websocket' (unknown location)
2. Ver el paquete websocket en pip3
1. Compruebe si existe el paquete, pip3 list | grep websocket
2. Desinstalar y reinstalar
pip3 uninstall websocket
pip3 install websocket
pip3 uninstall websocket-client
pip3 install websocket-client
3. Todavía no funciona. . . .
3. La verdadera solución
1. Desinstale el paquete websocket
pip3 uninstall websocket
2. Solo instale el paquete websocket-client
pip3 install websocket-client
3. Ver el paquete actual
pip3 list | grep websocket
4. ¡No habrá problema para volver a correr! ! ! !