RuntimeError: no running event loop

Hello. When trying to run an app with streamlit, I’m currently getting this error apparently with tornado. Can someone please help? :frowning: Don’t know what to do.

Traceback (most recent call last):
File “C:\Users\Trabajo\AppData\Roaming\Python\Python38\site-packages\streamlit\server\”, line 526, in _loop_coroutine
yield tornado.gen.convert_yielded(
File “C:\Users\Trabajo\AppData\Roaming\Python\Python38\site-packages\tornado\”, line 1055, in run
value = future.result()
File “C:\Users\Trabajo\AppData\Roaming\Python\Python38\site-packages\tornado\”, line 238, in result
File “”, line 4, in raise_exc_info
File “C:\Users\Trabajo\AppData\Roaming\Python\Python38\site-packages\tornado\”, line 307, in wrapper
yielded = next(result)
File “”, line 6, in _wrap_awaitable
File “c:\programdata\anaconda3\lib\asyncio\”, line 418, in wait
loop = events.get_running_loop()
RuntimeError: no running event loop
2022-07-03 19:06:25.436

Hi @boalatil, welcome to the Streamlit community!

Can you post the code that generates this issue?