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"
(5)猜测是运行内存不够,换个运行环境试试
前四个都没成功,最后一个终于有用了!一开始是在虚拟机跑的,数据比较大,后来换了双系统里去跑,就没事了。
总结:
遇到这个问题首先应该检查代码是不是有问题,再去做其它尝试~
The kernel appears to have died. It will restart automatically.相关推荐
- 成功解决错误The kernel appears to have died. It will restart automatically
关于内核死亡的错误 mac系统在运行jupter 出现了 The kernel appears to have died. It will restart automatically cpu无占用 解 ...
- jupyter notebook 上用matplotlib绘图,出现The kernel appears to have died.It will restart automatically
环境 anaconda3+自定义python环境+jupyter notebook jupyter notebook 上用matplotlib绘图,出现The kernel appears to ha ...
- The kernel appears to have died. It will restart automatically问题
用jupyter notebook 运行教程中下面这个cell时,总会报"The kernel appears to have died. It will restart automatic ...
- jupyter notebook中,对tensorflow运行时经常出现“The kernel appears to have died. It will restart automatically”
在jupyter notebook 或者spyder上运行tensorflow的代码时(主要是代码 包含CNN),如果软件安装有问题,会出现"The kernel appears to ha ...
- 对jupyter notebook运行时出现“The kernel appears to have died. It will restart automatically”的解决方案
1.前天在jupyter notebook 上运行tensorflow的代码时(主要是卷积神经网络,用小笔记本上的GPU),运行没多久,出现"The kernel appears to ha ...
- 【已解决】导入tensorflow报错/python已停止工作/The kernel appears to have died
目录 背景 问题1:in future version of numpy, it will be understaood as(type,(1,)) 原因 解决 问题2:python已停止工作/The ...
- Kernel Restarting
Jupyter Notebook运行过程中, kernel died. 报错信息: The kernel appears to have died. It will restart automatic ...
- python怎么重启内核_解决jupyter运行pyqt代码内核重启的问题
在jupyter notebook或者是 Qtconsole下编译运行一个简单的pyqt程序,总是报错: The kernel appears to have died. It will restar ...
- python内核死亡的原因_Python的内核由于DLL而死亡
对于机器学习课程,我正在用python做练习.我们的作业必须使用Jupyter笔记本.虽然这在我的笔记本电脑和我的办公桌上运行得很好,但我不能在家里的桌面上运行任何东西.在 因为我不确定是否允许我发布 ...
- AttributeError: 'module' object has no attribute 'get_frontal_face_detector'
AttributeError: 'module' object has no attribute 'get_frontal_face_detector' 报错原因: 命名为的文件将遮盖dlib具有所需 ...
最新文章
- public static final int REMIN_REQUEST_CODE = 0x911 自己的大致理解
- SQL Server DATEADD() 函数
- Sqlite的多表连接更新
- Listview 的顶部动态广告位的实现
- UILable文字不居中问题
- url编码混乱下下载工具如何应对
- 阿里巴巴淘系开源大型3D家具数据集(3D-FUTURE)推动3D家居智能研究
- 8大策略让你对抗机器学习数据集里的不均衡数据
- 黑客编程为什么首选Python语言?这个高速你答案!
- 2018年第31周-hive支持的Delete和Update的配置
- linux用cmake编译,CMake使用简介(forLinux)
- 数据库大并发操作要考虑死锁和锁的性能问题
- 90 岁程序员,他的压缩算法改变了世界!
- html foreach 行 间隔,颜色,javascript简单实现表格行间隔显示颜色并高亮显示
- 微信“小程序”来了 Webpower教您如何做二维码营销
- 爬取汽车之家所有汽车参数配置
- Liunx学习笔记--基本网络设定(测试内容)
- cyusb3014上位机同步传输与异步传输的实现
- Echarts — 绘制省级地图
- 火焰课堂java_通过火焰图引入Java剖析
热门文章
- 训练faster rcnn报错:KeyError:‘max_overlaps’
- SAP 增强学习(4):四代增强 隐式增强(Enhancement-Point)
- python代码错误有哪些_Python常见十六个错误集合,你知道那些?
- 微信朋友圈图片处理策略
- 2020美团秋招,二本计算机,疯狂复习半年,拿下美团offer
- java获取其他应用程序的窗口控件
- 80psi等于多少kpa_【图】关于胎压的换算psi、bar,kpa
- C# Bitmap引用System.Drawing报错 “...不存在类型命名空间名...”的修复
- 百度地图 根据经纬度获取 地址
- flutter web集成友盟统计