我无法让Jupyter Notebook运行 - 它不断重启内核并给出错误信息,

ImportError: No module named 'prompt_toolkit.formatted_text'

网上有几个帖子说这是ipython版本的一个问题,可以通过回滚修复,但这对我没用 .

以下是我当前版本的相关软件包:

  • conda == 4.5.11

  • ipykernel == 4.10.0

  • ipython == 6.5.0

  • ipython-genutils == 0.2.0

  • ipywidgets == 7.4.2

  • jupyter == 1.0.0

  • jupyter-client == 5.2.3

  • jupyter-console == 4.1.1

  • jupyter-core == 4.4.0

  • jupyter-kernel-gateway == 2.1.0

  • jupyterlab == 0.34.12

  • jupyterlab-launcher == 0.13.1

  • notebook == 5.7.0

  • prompt-toolkit == 1.0.15

你能提供的任何帮助都会很棒 . 谢谢!