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\server.pyโ€, line 526, in _loop_coroutine
yield tornado.gen.convert_yielded(
File โ€œC:\Users\Trabajo\AppData\Roaming\Python\Python38\site-packages\tornado\gen.pyโ€, line 1055, in run
value = future.result()
File โ€œC:\Users\Trabajo\AppData\Roaming\Python\Python38\site-packages\tornado\concurrent.pyโ€, line 238, in result
raise_exc_info(self._exc_info)
File โ€œโ€, line 4, in raise_exc_info
File โ€œC:\Users\Trabajo\AppData\Roaming\Python\Python38\site-packages\tornado\gen.pyโ€, line 307, in wrapper
yielded = next(result)
File โ€œโ€, line 6, in _wrap_awaitable
File โ€œc:\programdata\anaconda3\lib\asyncio\tasks.pyโ€, 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?

Best,
Randy

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.