richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

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

Closed marcusRB closed 3 years ago

marcusRB commented 3 years ago

Hi,

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

I tried:

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

Originally posted by @marcusRB in https://github.com/rbrcsk/pushbullet.py/issues/145#issuecomment-857490580

marcusRB commented 3 years ago

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