AttributeError: module 'websocket' has no attribute 'WebSocketApp'

venun
Hello Team,
while execute kws.connect() at this point I am ending with the following error:
AttributeError: module 'websocket' has no attribute 'WebSocketApp'

Websocket client is already installed on my system, please check the screen shot.

Appreciates any quick response

Thanks,
venu
  • Vivek
    Vivek edited December 2017
    This happens when you name your python script as websocket.py which overrides the import of websocket-client library inside Kite connect module. So just rename your python script and it should be fine.
This discussion has been closed.