Jupyter notebook cell stays busy (*) even after the execution is complete

你。 提交于 2021-01-27 06:20:52

问题


The Jupyter/IPython notebook started acting a little strange for my Ubuntu (14.04) computer.

Usually, a cell in jupyter notebook becomes busy with an asterisk (*) symbol next to it when it is executed and as soon as the execution is busy, the execution sequence number is displayed to denote successful completion of whatever task which was in it.

Now, whenever I execute a cell, it remains busy with an asterisk next to it even after the execution is complete. Then, any other cell which is given for execution also gets an asterisk but with no progress. Only when the interrupt command is given the execution sequence number shows up and I can continue to run other cells (in the same odd way).

What is causing this odd behaviour and how to solve it? It didn't happen to me before over the last two years of use -- neither in Ubuntu or Mac.


回答1:


The cause seems to be the variable explorer notebook extension. The Jupyter notebook works fine when this is disabled.

I've recently installed jupyter_contrib_nbextensions and started to use the variable explorer in it. However, it seems like this is what is causing the problem. I've turned it off using the nbextensions tab in the home tree. Now, the cell executions are back to normal.



来源:https://stackoverflow.com/questions/46424160/jupyter-notebook-cell-stays-busy-even-after-the-execution-is-complete

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!