Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

AttributeError - module 'websocket' has no attribute 'WebSocketApp' - 0.12.0 #176

Closed
marcusRB opened this issue Jun 9, 2021 · 1 comment

Comments

@marcusRB
Copy link

marcusRB commented Jun 9, 2021

Hi,

with pushubllet v0.12.0 and websocket-client 1.0.1 again same AttributeError

I tried:

  • downgraded pushbullet (version 0.9x, 0.10x) and same error.
  • downgraded websocket-client version and still AttributeError

AttributeError: module 'websocket' has no attribute 'WebSocketApp' on GoogleColab Python 3.7

Originally posted by @marcusRB in #145 (comment)

@marcusRB
Copy link
Author

marcusRB commented Jun 9, 2021

Solved restarting environment (v 0.12.0) -

Anyway , I tried in the listener.py and I applied some changes in the Class:

from websocket import _app

using _app.WebSocketApp instead websocket.WebSocketApp

and works.

Close Issue

@marcusRB marcusRB closed this as completed Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant