-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
AsyncSession does not work on Windows platforms. #70
Comments
Accroding to the docs:
You can use the SelectorEventLoop instead. import sys, asyncio
if sys.version_info >= (3, 8) and sys.platform.lower().startswith("win"):
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) |
O, thanks, it worked! |
Think you should implement this into the library by default if possible tho! |
Anyway to support ProactorEventLoop? |
Cool, could you please submit a PR? |
Yes, I'll work on it. |
Thanks to @T-256, this is no longer an issue, no need to change loop since v0.6.0 |
I ran this code. I have python 3.11.4 and curl_cffi 0.5.6 installed
This is the error I got:
The text was updated successfully, but these errors were encountered: