jupyter notebook The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted.
报错信息
The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.
解决办法
pip uninstall jupyter
pip install jupyter
直接重装,简单粗暴快速解决问题
报错信息
ImportError: cannot import name 'create_prompt_application'
解决办法
pip install --upgrade prompt-toolkit==1.0.5