[英]How should I stop a busy cell in an iPython notebook?
I have trouble stopping a given kernel in an iPython notebook.我无法在 iPython 笔记本中停止给定的内核。
Many times the cell is stuck, and I need to restart the entire kernel.很多时候单元卡住了,我需要重新启动整个内核。 The loop could be messy sometimes.
循环有时可能很混乱。
How can I stop the kernel?我怎样才能停止内核?
Click on 'Interrupt' under 'Kernel' in the toolbar.单击工具栏中“内核”下的“中断”。 Pressing
I
twice will also do the trick.按
I
两次也可以解决问题。
Source - Is there an equivalent to CTRL+C in IPython Notebook in Firefox to break cells that are running?来源 - 在 Firefox 中的 IPython Notebook 中是否有等效于 CTRL+C 来中断正在运行的单元格?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.