RuntimeError: There is no current event loop in thread 'ScriptRunner.scriptThread'.
Traceback:
File "/Users/maxwilliamsboko/opt/anaconda3/lib/python3.8/site-packages/streamlit/script_runner.py", line 337, in _run_script
exec(code, module.__dict__)File "/Users/maxwilliamsboko/Desktop/project.py", line 8, in <module>
import eikon as ekFile "/Users/maxwilliamsboko/opt/anaconda3/lib/python3.8/site-packages/eikon/__init__.py", line 12, in <module>
from .Profile import *File "/Users/maxwilliamsboko/opt/anaconda3/lib/python3.8/site-packages/eikon/Profile.py", line 17, in <module>
from .streaming_session import DesktopSessionFile "/Users/maxwilliamsboko/opt/anaconda3/lib/python3.8/site-packages/eikon/streaming_session/__init__.py", line 3, in <module>
from .session import *File "/Users/maxwilliamsboko/opt/anaconda3/lib/python3.8/site-packages/eikon/streaming_session/session.py", line 21, in <module>
nest_asyncio.apply()File "/Users/maxwilliamsboko/opt/anaconda3/lib/python3.8/site-packages/nest_asyncio.py", line 12, in apply
loop = loop or asyncio.get_event_loop()File "/Users/maxwilliamsboko/opt/anaconda3/lib/python3.8/asyncio/events.py", line 639, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'