python – 重复“内核死了,重启”永远
作者:互联网
当我试图跑
$jupyter qtconsole
控制台显示消息
Kernel died, restarting
________________________
Kernel died, restarting
________________________
Kernel died, restarting
________________________
Kernel died, restarting
________________________
Kernel died, restarting
________________________
哪个继续.
尝试$jupyter qtconsole –debug没有打印任何其他东西,也没有添加
c.Application.log_level = 0
c.Session.debug = True
进入$USERHOME / .jupyter / jupyter_qtconsole_config.py
另外,我在$USERHOME / .ipython / profile_default / log /和周围的其他目录中找不到任何内容.
自从我上次启动jupyter-qtconsole以来,我的配置没有任何变化.
我怎么能至少找出内核出了什么问题?当然Jupyter中有一些选项可以获取内核的STDERR输出,看看有什么异常让它烦恼了吗?
解决方法:
检查日志.我有同样的问题,我的日志显示没有名为ipykernel_launcher的模块.所以,我只是pip安装ipykernel并解决问题.
标签:python,jupyter,qtconsole,jupyter-console 来源: https://codeday.me/bug/20190527/1165695.html