-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant get the sdk to run #30
Comments
Try adding |
Like this? It returned the same error. |
have you installed WebSockets?
pip install websocket-client
…On Fri, Sep 24, 2021 at 1:22 AM Ofir ***@***.***> wrote:
Try adding import websockets before the sinric imports.
Like this?
import websockets from sinric import SinricPro from sinric import
SinricProUdp import asyncio
It returned the same error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZAZZUXMXE4JB2K73RM6YLUDNV7LANCNFSM5EUD766Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
For what its worth, I ran into the same problem just now.
(and imports for It looks like in version 2.4.2, there were some changes to
Manually making those changes in my local copy of I am running python 3.9.1. I am not sure if this is related, but I thought I would mention it in case it was a helpful observation. |
Thanks @bsalinas I was having the same issue and that worked for me! |
Hi,
I have copied the basic example from the readme file, and filled all the details required.
After running it, it returns the following error:
File "sinric\_sinricprosocket.py", line 33, in connect self.connection = await websockets.client.connect('ws://ws.sinric.pro', File "\websockets\imports.py", line 92, in __getattr__ raise AttributeError(f"module {package!r} has no attribute {name!r}") AttributeError: module 'websockets' has no attribute 'client'
The text was updated successfully, but these errors were encountered: