You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError: module 'asyncio.coroutines' has no attribute 'debug_wrapper' #126
I've tried installing datasette, uvicorn, and uvloop all from master HEAD. Get the following error:
File "/Users/willingc/projects/datasette-bpo/uvicorn/uvicorn/loops/auto.py", line 6, in auto_loop_setup
import uvloop
File "/Users/willingc/projects/datasette-bpo/testenv/lib/python3.8/site-packages/uvloop/__init__.py", line 7, in <module>
from .loop import Loop as __BaseLoop # NOQA
File "uvloop/includes/stdlib.pxi", line 41, in init uvloop.loop
AttributeError: module 'asyncio.coroutines' has no attribute 'debug_wrapper'
Activity
wumpus commentedon May 18, 2018
I am seeing this on python 3.7.0b4 with uvloop 0.9.1
I installed from git -- it says it is uvloop-0.9.2.dev0 -- and I see the same error.
3.7 is getting close to release! People cannot easily test if fundamental libs like uvloop and pyyaml are not updated.
Looks like PR #138 is intended to fix this bug -- I installed the branch from the PR and this test passes for me.
1st1 commentedon May 18, 2018
I'll work on this next week. Expect to see an update soon.
1st1 commentedon May 23, 2018
Fixed in #149. You can now build uvloop from source and test under Python 3.7.
willingc commentedon Oct 28, 2019
@1st1 Is there a similar error with Python 3.8?
I've tried installing datasette, uvicorn, and uvloop all from master HEAD. Get the following error:
1st1 commentedon Oct 28, 2019
That's weird, as that line of code was fixed a year ago:
uvloop/uvloop/includes/stdlib.pxi
Line 46 in 695a520
I suspect you're using an old version of uvloop. Try installing with
pip install uvloop==0.14.0rc1.willingc commentedon Oct 29, 2019
Thanks @1st1 that resolved the issue. 😄
1st1 commentedon Oct 30, 2019
@willingc Note that 0.14.0rc1 had a nasty bug with libuv ignoring SIGINT. Install 0.14.0rc2 with
pip install uvloop==0.14.0rc2