The kernel has died, and the automatic restart has failed

The kernel has died, and the automatic restart has failedThe kernel has died, and the automatic restart has failed

首先排除版本的问题:
conda upgrade notebook

conda upgrade jupyter

结果并没有解决这个问题,试试

conda install -c conda-forge prompt_toolkit