Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
636 views
in Technique[技术] by (71.8m points)

jupyter-notebook - 如果Interupt内核在Jupyter Notebook中不起作用,如何停止正在运行的单元(How to stop the running cell if interupt kernel does not work in jupyter notebook)

I'm using jupyter notebook for a while.

(我正在使用jupyter笔记本一段时间。)

Often when I tried to stop a cell execution, interrupting kernel did not work.

(通常,当我尝试停止单元执行时,中断内核无效。)

In this case, what else can I do, other than just closing the notebook and relaunch again?

(在这种情况下,除了关闭笔记本电脑然后重新启动之外,我还能做什么?)

I guess this might be a common situation for many people.

(我想对于许多人来说这可能是常见的情况。)

thanks a lot.

(非常感谢。)

  ask by zesla translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

如果您可以丢失所有当前定义的变量,那么转到“内核”>“重新启动”将停止执行而不关闭笔记本。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...