I ran into an issue with ayncio and had to apply this change to get the following error to go away:
/software/public/anaconda/3.8.3/lib/python3.8/asyncio/base_events.py in _check_running(self)
550 def _check_running(self):
551 if self.is_running():
--> 552 raise RuntimeError('This event loop is already running')
553 if events._get_running_loop() is not None:
554 raise RuntimeError(
RuntimeError: This event loop is already running
Added this to the top of the file: BAG_framework/bag/concurrent/core.py
import nest_asyncio
nest_asyncio.apply()
I ran into an issue with ayncio and had to apply this change to get the following error to go away:
/software/public/anaconda/3.8.3/lib/python3.8/asyncio/base_events.py in _check_running(self) 550 def _check_running(self): 551 if self.is_running(): --> 552 raise RuntimeError('This event loop is already running') 553 if events._get_running_loop() is not None: 554 raise RuntimeError(
RuntimeError: This event loop is already running
Added this to the top of the file: BAG_framework/bag/concurrent/core.py import nest_asyncio nest_asyncio.apply()
I had to install nest_asyncio package from: https://pypi.org/project/nest-asyncio/#files