1

运行 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
4

3 回答 3

0

您的问题类似于https://github.com/ipython/ipython/issues/2824。它可能会在较新的 IPython 版本中得到解决,或者您可以在那里找到建议。

于 2013-07-15T11:58:52.780 回答
0

我在使用最新的 Enthought Canopy Express(前 EPD Free)时遇到了同样的问题。为了解决这个问题,我刚刚将 IPython 升级到 0.13.1,它停止了死机并开始像我的其他(标准自制)安装的 IPython 一样顺利工作。

于 2013-08-07T23:46:38.597 回答
0

我有类似的问题,当我重新启动系统时,为了导入 sklearn 或 skimage 之类的东西,它会给出类似“内核似乎已经死机。它将自动重新启动”的消息。然后它根本不会重新启动,我不得不重新安装机盖,然后安装我需要的所有软件包。
有什么办法可以修好后重新安装?为什么这种情况最常发生

于 2015-03-05T12:52:34.417 回答