erdewit/nest_asyncio

AttributeError: module 'sys' has no attribute 'get_asyncgen_hooks'

cortezzle opened this issue · 0 comments

I'm running an application built on Python 3.5.3 using nest_asyncio and when running the main python application I get the following error stack:

File "C:\Users\tez\AppData\Local\Programs\Python\Python35\lib\site-packages\nest_asyncio.py", line 51, in run_forever
with manage_run(self), manage_asyncgens(self):
File "C:\Users\tez\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 59, in enter
return next(self.gen)
File "C:\Users\tez\AppData\Local\Programs\Python\Python35\lib\site-packages\nest_asyncio.py", line 132, in manage_asyncgens
old_agen_hooks = sys.get_asyncgen_hooks()
AttributeError: module 'sys' has no attribute 'get_asyncgen_hooks'

Any idea if it's a versioning issue or what might be wrong?