Jupyter Notebook Kernel一直很忙 [英] Jupyter Notebook Kernel busy all the time

查看:1866
本文介绍了Jupyter Notebook Kernel一直很忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了anaconda,python在Sypder,IPython等中运行正常.但是我无法运行python笔记本.

I have instaled anaconda and python works fine in Sypder , IPython etc . However I am not able to run 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 .

我也无法从笔记本电脑打开python终端,但是出现了一些powershell错误.

I am also not able to open python terminal from notebook there is some powershell error.

有人可以提出建议吗?

添加了快照和日志

登录Anaconda提示:

Log Anaconda Prompt :


(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

内核繁忙

推荐答案

我也遇到了同样的问题,我尝试了很多不同的方法,但似乎没有任何帮助.最终,用Kernel Restart代替Kernel Interrupt帮助了我!内核重新​​启动,我能够照常运行内核.

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! 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!

这篇关于Jupyter Notebook Kernel一直很忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆