[英]Jupyter Notebook Kernel busy all the time
I have instaled anaconda and python works fine in Sypder , IPython etc .我已经安装了 anaconda,python 在 Sypder、IPython 等中运行良好。 However I am not able to run python notebook.但是我无法运行 python notebook。
Kernel gets created , it also connects but it shows the dark circle busy symbol throughout .内核被创建,它也连接,但它始终显示黑色圆圈忙碌符号。 There is no problem with the firewall or antivirus .防火墙或防病毒软件没有问题。 I have tried by disabling both .我已经尝试禁用两者。
I am also not able to open python terminal from notebook there is some powershell error.我也无法从笔记本打开 python 终端,有一些 powershell 错误。
Can anyone suggest something ?任何人都可以提出建议吗?
Edit 1 : Added the snapshot and the log编辑 1:添加快照和日志
Log Anaconda Prompt :登录 Anaconda 提示:
(base) C:\Users\Project>jupyter notebook [I 13:11:26.561 NotebookApp] JupyterLab extension loaded from C:\Users\Project\A naconda3\lib\site-packages\jupyterlab [I 13:11:26.561 NotebookApp] JupyterLab application directory is C:\Users\Projec t\Anaconda3\share\jupyter\lab [I 13:11:26.569 NotebookApp] Serving notebooks from local directory: C:\Users\Pr oject [I 13:11:26.570 NotebookApp] The Jupyter Notebook is running at: [I 13:11:26.570 NotebookApp] http://localhost:8888/?token=28e7406ee648d631648f9b 8c53e1f3027f5eb30516ccf15f [I 13:11:26.571 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 13:11:26.768 NotebookApp] To access the notebook, open this file in a browser: file:///C:/Users/Project/AppData/Roaming/jupyter/runtime/nbserver-3064-o pen.html Or copy and paste one of these URLs: http://localhost:8888/?token=28e7406ee648d631648f9b8c53e1f3027f5eb30516c cf15f [I 13:11:56.237 NotebookApp] Creating new notebook in [I 13:12:02.401 NotebookApp] Kernel started: 55d8fb5e-2fe7-4d4b-a1d3-a11b0b7e7e7 d [I 13:12:05.242 NotebookApp] Adapting to protocol v5.1 for kernel 55d8fb5e-2fe7- 4d4b-a1d3-a11b0b7e7e7d
And the image where kernel is always busy以及内核总是忙碌的图像
I was also getting the same issue, I tried a lot of different stuff but nothing seemed to help me out.我也遇到了同样的问题,我尝试了很多不同的东西,但似乎没有任何帮助。 Ultimately, a Kernel Restart
instead of Kernel Interrupt
helped me out!最终, Kernel Restart
而不是Kernel Interrupt
帮助了我! The kernel restarted and I was able to run the kernels as usual.内核重新启动,我能够像往常一样运行内核。
I think this is just a workaround if someone finds the real solution please do let us know!我认为这只是一种解决方法,如果有人找到真正的解决方案,请告诉我们!
I has the same issue because I started it as below我有同样的问题,因为我如下开始
jupyter notebook --gateway-url= http://my-domain.com:8888 jupyter 笔记本 --gateway-url= http://my-domain.com:8888
but I remove geteway-url param then the issue was gone但我删除了 geteway-url 参数然后问题就消失了
I know that you didn't make this very same mistake like me but I hope this gives you some clues我知道你没有像我一样犯同样的错误,但我希望这能给你一些线索
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.