sos-notebook icon indicating copy to clipboard operation
sos-notebook copied to clipboard

Running multiple kernels from one notebook : error "asyncio.run() cannot be called from a running event loop"

Open MedAdh42 opened this issue 3 years ago • 2 comments

Hello, I'm trying to use SOS-notebook to use multiple kernels at once, there an issue with a particular kernal (ParaView-5.8.1 see image) this kernel is customed therefore not supported, it connects Jupyter with the ParaView visualisation software.

Is there a way to run this kernel on a another thread?

sos

MedAdh42 avatar Jul 20 '22 15:07 MedAdh42

This is due to an upgrade of ipykernel to async so please try to update all related packages to the latest version so that all of them are using async. If the problem persists, I will have to have a look at the paraview kernel and see if it supports async.

BoPeng avatar Jul 20 '22 15:07 BoPeng

Indeed my kernel doesn't support async, is there anyway still to use it within SOS-notebook

MedAdh42 avatar Jul 21 '22 13:07 MedAdh42