This persistent exception is raised when submitting bp.count() to the RE. What's up? (In a jupyter notebook):
RuntimeError: This event loop is already running
Notebook starts with this:
%matplotlib notebook
from bluesky.utils import install_qt_kicker
install_qt_kicker()
from bluesky import RunEngine
import bluesky.plans as bp
RE = RunEngine({})
from ophyd.sim import hw
sim = hw()
This comes from using the tornado package version >=5. Need to pin (create/edit file <env>/conda-meta/pinned) with text tornado<5 and downgrade tornado (in the bluesky environment) with conda install -n bluesky tornado=4
This persistent exception is raised when submitting bp.count() to the RE. What's up? (In a jupyter notebook):
RuntimeError: This event loop is already running
Notebook starts with this:
Next block raise the exception:
Full trace, as shown: