logo-MindMajix
PostPythonPython
j
jordan chris

Posted on 21st June 2024|265 views

0
votes

This Event Loop Is Already Running

Why am I getting an error called this event loop is already running?

1 answers
Answers
P
sumana reddy

Posted on 21st June 2024| views

I have faced the same issue which is solved by using nest_async

pip install nest_asyncio

And I have added the below line within my file

import nest_asyncio 

nest_asyncio.apply()

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number