Skip to content

Doc: asyncio client: code requires Python 3.7+ #917

Answered by miguelgrinberg
bialix asked this question in Q&A
Discussion options

You must be logged in to vote

@Balix are you reading the installation docs? You have a clear error message that points to the problem:

aiohttp not installed -- cannot make HTTP requests!

You have not installed the client properly, there's missing stuff. See https://python-socketio.readthedocs.io/en/latest/client.html#installation.

With regards to the first problem, you are correct, the example uses asyncio.run() which is 3.7+. You don't have to use that though, as you noticed you can also go with the older start up method, which should work in 3.6. I do not keep track of 3.6 support anymore, so it is possible that something eventually will break, but I believe at this point the library should work fine in 3.6. But I …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bialix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #915 on April 28, 2022 13:06.