2013-07-06 57 views
1

我得到了與ipython的污染,現在我變成了一個奇怪的錯誤:內核已死任何人都可以建議一個簡單的工作流程來超過這個問題?內核已死 - ipython

[IPKernelApp] --existing kernel-dc484a8e-c822-46b1-bc6d-a1e019a67258.json 
[NotebookApp] Kernel dc484a8e-c822-46b1-bc6d-a1e019a67258 failed to respond to heartbeat 

我變得也:

"The kernel has died, would you like to restart it? If you do not restart the kernel, you will be able to save the notebook, but running code will not work until the notebook is reopened." 

當我嘗試運行指令總是發生此問題:如果它確實發生在相同的指令

pieces = {'G-C': Cond.ix[:, [1]], 
      'G-M': M.ix[:, [1]], 
      'G-M+A': MA.ix[:, [1]], 
      'G-M+T': MT.ix[:, [1]], 
      'G-L': L.ix[:, [1]], 
      'G-L+A': MA.ix[:, [1]], 
      'G-L+T': LT.ix[:, [1]] 
      } 
+0

你應該提供更多細節。 IPython的哪個版本?哪個os?你在做什麼特定的...等 – Matt

+0

我使用IPython3和Ubuntu的13.04。 我想連接幾個表中的列。 –

+0

這是不工作的指令: {pieces = {'G-C':Cond.ix [:, [1]], 'G-M':M.ix [:, [1]] , 'G-M + A':MA.ix [:, [1]], 'G-M + T':MT.ix [:, [1]], 'G-L': ix [:, [1]], 'G-L + A':MA.ix [:, [1]], 'G-L + T':LT.ix [:, [1]] } } –

回答

1

,則指令是崩潰的內核,你只是警告這一點。沒有辦法確定內核崩潰,或者它與網絡的連接斷開。嘗試在純Python解釋器上重現,並且擁有完整的最小可重現示例,並且我們可以決定是否存在要報告的錯誤以及在哪裏。

0

我正面臨同樣的問題。我的問題是由以下步驟 -

  • 轉到康達終端解決並關閉正在運行的內核(由prssing CTRL + C)

  • 下式

    pip install ipyparallel 
    

    這將重新intstall ipyparallel

  • 然後重新啓動jupyter筆記本