Error while running the script AttributeError: module 'asyncio' has no attribute 'create_task while running.
AshKumar06 opened this issue · 1 comments
AshKumar06 commented
The script generated this error while running ,AttributeError: module 'asyncio' has no attribute 'create_task while running. Just replaced create_task with asyncio.ensure_future and it executed without errors.
thewhiteh4t commented
@AshKumar06 looks like you are using some python version below 3.7
, create_task
was added in python version 3.7
, upgrade and it will work, closing.