jupyter lab打开时出现闪退Server Connect

2023-05-15  本文已影响0人  丙吉
存在问题:Server Connection Error
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
有两种可能:
1。 用户名或路径中含有中文;

我的路径中没有中文名,但是按参考1中的提示我看了下我的OneDriver文件夹下有个中文文件夹,后来删除后可以运行,但后来把文件放进行也能运行,不清楚原因。


image.png
2。 修改jupyter控制文件,将jupyter_notebook_config.py文件中的

c.NotebookApp.shutdown_no_activity_timeout=0
前的注释符号# 删除即可。

原因2也试了,但我的不是这个问题。

更新20230517,今天早上jupyter lab又出现闪退的情况,

IndexError: pop from an empty deque

找了找,很多人有这种情况,但都是不同的解决方法,这次,我也不清楚是关闭了网页的文档编辑还是把jupyterlab中的另一个开的网页给关停了,试了两次后居然打开了。


image.png
这个网页中有很多闪退的情况,可以试试

Failure to start jupyter lab --- IndexError: pop from an empty deque · Issue #11934 · jupyterlab/jupyterlab · GitHub

参考:
  1. 【Python】JupyterLab报错:Server Connection Error如何解决?a connection to the jupyter server could not be es离明zh的博客-CSDN博客](https://blog.csdn.net/weixin_48927364/article/details/123604128)
  2. 控制台显示“[IPKernelApp] WARNING | Parent appears to have exited, shutting down.”_CDA答疑社区](https://www.cda.cn/discuss/post/details/5f3d27fa49796226c2293c53)
上一篇 下一篇

猜你喜欢

热点阅读