Skip to content Skip to sidebar Skip to footer

AttributeError: Module 'websocket' Has No Attribute 'WebSocketApp' Pip

I am trying to use websocket.WebSocketApp, however it's coming up with the error: module 'websocket' has no attribute 'WebSocketApp' I had a look at previous solutions for this, an

Solution 1:

You've installed wrong websocket package. You installed websocket but you need websocket-client. Uninstall both to cleanup the mess and reinstall websocket-client.


Solution 2:

Just installing websocket-client==1.2.0 is ok.

I encountered this problem when I was using websocket-client==1.2.3


Post a Comment for "AttributeError: Module 'websocket' Has No Attribute 'WebSocketApp' Pip"