运行Linux Mint 13 Maya(64位)
在epd 7.3.2(学术)和Canopy上,当运行笔记本时,内核会定期死掉。我得到一个允许我重启内核的弹出窗口。我在终端窗口看到了这个:
$ ipython notebook --pylab inline --notebook-dir=***
[NotebookApp] Using existing profile dir: u'*****.config/ipython/profile_default'
[NotebookApp] Serving notebooks from *****
[NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
[NotebookApp] Using MathJax from CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js
[NotebookApp] Kernel started: 5425f0fa-38cc-4e1e-a39d-736d3ac935e3
[NotebookApp] Connecting to: tcp://127.0.0.1:33939
[NotebookApp] Connecting to: tcp://127.0.0.1:52824
[NotebookApp] Connecting to: tcp://127.0.0.1:54440
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-5425f0fa-38cc-4e1e-a39d-736d3ac935e3.json
[NotebookApp] Kernel 5425f0fa-38cc-4e1e-a39d-736d3ac935e3 failed to respond to heartbeat
[NotebookApp] Kernel started: dc484a8e-c822-46b1-bc6d-a1e019a67258
[NotebookApp] Connecting to: tcp://127.0.0.1:45376
[NotebookApp] Connecting to: tcp://127.0.0.1:54515
[NotebookApp] Connecting to: tcp://127.0.0.1:51380
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-dc484a8e-c822-46b1-bc6d-a1e019a67258.json
[NotebookApp] Kernel dc484a8e-c822-46b1-bc6d-a1e019a67258 failed to respond to heartbeat
答案 0 :(得分:0)
您的问题与https://github.com/ipython/ipython/issues/2824类似。它可以在较新的IPython版本中解决,或者你可以在那里找到建议。
答案 1 :(得分:0)
使用最新的Enthought Canopy Express(ex-EPD Free)我遇到了同样的问题。为了解决这个问题,我刚刚将IPython升级到了0.13.1,并且它停止了死亡,并且开始像我的其他(标准自己制造的)安装IPython一样顺利运行。
答案 2 :(得分:0)
我有类似的问题,当我重新启动系统时,为了导入像sklearn或者skimage之类的东西,它会给予像#34这样的按摩;内核似乎已经死了。它会自动重启。"然后它根本没有重启,我不得不重新安装顶篷,然后安装我需要的所有包 有没有办法修复树冠然后重新安装? 为什么这种情况最常发生