Jupyter notebook Jupyter IPython-RuntimeError:此事件循环已在运行

Jupyter notebook Jupyter IPython-RuntimeError:此事件循环已在运行,jupyter-notebook,runtime-error,ipython,Jupyter Notebook,Runtime Error,Ipython,在启动Jupyter IPython时,没有特殊原因,我得到了«RuntimeError:此事件循环已在运行»。我被绊倒了,无法运行任何IPython笔记本。请注意,我没有使用水蟒 可能是在更新了Python机器学习生态系统的一个库(Scipy、NumPy、matplotlib、scikit learn、pandas、Keras等)之后,但我记不起是哪一个 我尝试升级常见的嫌疑犯tornado和ipykernel,但没有成功。此外,我没有在自己的代码中使用任何像asyncio这样的花哨东西 在尝

在启动Jupyter IPython时,没有特殊原因,我得到了«RuntimeError:此事件循环已在运行»。我被绊倒了,无法运行任何IPython笔记本。请注意,我没有使用水蟒

可能是在更新了Python机器学习生态系统的一个库(Scipy、NumPy、matplotlib、scikit learn、pandas、Keras等)之后,但我记不起是哪一个


我尝试升级常见的嫌疑犯tornado和ipykernel,但没有成功。此外,我没有在自己的代码中使用任何像asyncio这样的花哨东西

在尝试了很多事情并可能使情况变得更糟之后,我终于解决了这个问题

(一)

sudo pip3卸载-y jupyter jupyter\u核心jupyter客户端jupyter控制台笔记本qtconsole nbconvert nbformat

2) 重新安装新的Jupyterlab

sudo pip3安装jupyterlab