The kernel appears to have died. It will restart automatically.
一、项目场景:
ubuntu中调试jupyter notebook
二、问题描述
kernel dead问题
三、解决方案:
我的一些尝试
(1)在jupyter notebook上一次只能运行一个文件,如果运行多个文件会出现错误,即使叉掉已运行的文件也没用,需要回到如下界面点击shutdown 来关掉正在运行的文件。
(2)发现内存不够,进行扩容
(3)重装,改用conda装
(4)加上以下代码
import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
原创
2022-04-27 14:29:08 ·
3612 阅读 ·
0 评论