Await error #1231
Await error
#1231
Replies: 1 comment 1 reply
-
I suggest you learn how to work with asyncio before using this library. The problem that you have is unrelated to Socket.IO, you just need to learn how asyncio works first. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a sample code.. I am not done yet but I am hit with a problem
For the line
await sio.connect(URL)
It says
"await" allowed only within async function)
It is the version 4.6.1 which i installed this way
pip install python-socketio==4.6.1
Beta Was this translation helpful? Give feedback.
All reactions