Attribute error
Ijal79 opened this issue · 2 comments
Ijal79 commented
I was deploying this repo on Railway and its crashed because its always showing this error :
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
Can you fix this? If you can't, can i fix this? or taught me how to fix that?
Thank you
SanujaNS commented
This is probably because you are using python 3.11.x version, try using python version 3.10.x or below.
Note: Support for generator-based coroutines is deprecated since version 3.8 and is removed in Python 3.11.
https://docs.python.org/3.10/library/asyncio-task.html#generator-based-coroutines
Itz-fork commented
Tested on python 3.12