RuntimeError: There is no current event loop in thread 'ScriptRunner.scriptThread'

Hi guys,
Have not seen a thread error in the forum - hope someone can help!

I am using Eikon Data API with Streamlit and get the following error - at the import stage itself:

File "c:\users\xxx\anaconda3\lib\site-packages\streamlit\", line 322, in _run_script
    exec(code, module.__dict__)File "C:\Users\xxx\", line 17, in <module>
    import eikon as ekFile "c:\users\xxx\anaconda3\lib\site-packages\eikon\", line 12, in <module>
    from .Profile import *File "c:\users\xxx\anaconda3\lib\site-packages\eikon\", line 22, in <module>
    from .streaming_session import DesktopSessionFile "c:\users\xxx\anaconda3\lib\site-packages\eikon\streaming_session\", line 3, in <module>
    from .session import *File "c:\users\xxx\anaconda3\lib\site-packages\eikon\streaming_session\", line 21, in <module>
    nest_asyncio.apply()File "c:\users\xxx\anaconda3\lib\site-packages\", line 9, in apply
    loop = loop or asyncio.get_event_loop()File "c:\users\xxx\anaconda3\lib\asyncio\", line 644, in get_event_loop
    % threading.current_thread().name)

Don’t get the error when I dont import eikon module. Conversely, dont get the error when I use eikon module without streamlit!

Any pointers on why this is happening?