Open freefri opened 3 years ago
@freefri it's pip install websockets
. Am still working on new updates with event_loops. Will publish it soon.
Hi, any updates here?
Edit the file sinric/_sinricprosocket.py add this line next to "import websockets" line:
from websockets import client as wsClient websockets.client=wsClient
I am getting the error
AttributeError: module 'websocket' has no attribute 'client'
I am getting this error after running
pip install websocket-client
with Python 3.9 on Windows 10. I have gotwebsocket-client
1.2.1 which contain this line:Checking the code in the repository I see that this line was changed here https://github.com/sinricpro/python-sdk/blob/8fe65465c575e604ee54ea90eb612ecda17a7b06/sinric/_sinricprosocket.py#L35
Maybe I am doing something wrong? or the last changes were not yet released in pip?