Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
655 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 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...