vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
177 stars 17 forks source link

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

Closed MedAdh42 closed 2 years ago

MedAdh42 commented 2 years ago

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

BoPeng commented 2 years ago

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.