从其他目录使用笔记本时出现Jupyter Notebook超时错误

时间:2019-01-12 19:49:00

标签: python anaconda jupyter-notebook jupyter conda

我正在使用conda环境运行jupyter笔记本。它正在运行以下jupyter版本:

jupyter_client                  5.2.4                py_0         conda-forge
jupyter_console                 5.2.0                py36_0
jupyter_contrib_core            0.3.3                py_2         conda-forge
jupyter_core                    4.4.0                py_0         conda-forge
jupyter_highlight_selected_word 0.2.0                py36_1000    conda-forge
jupyter_latex_envs              1.4.4                py36_1000    conda-forge
jupyterthemes                   0.20.0               py_0         conda-forge
notebook                        5.6.0                py36_0

启动笔记本电脑并打开新的python3笔记本电脑时,一切正常。但是,如果我创建一个文件夹,然后在该文件夹中打开一个新的python3笔记本,则会收到以下超时错误:

[I 13:38:46.390 NotebookApp] 302 GET /?token=1dfe4a712d25ba1cacf55d7270292ccf9f06dbad4ce76ce6 (10.0.0.75) 1.73ms
[W 13:39:03.859 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20190112133614 (10.0.0.75) 20.30ms referer=http://localhost:9999/notebooks/Untitled.ipynb
[I 13:39:04.292 NotebookApp] Kernel started: 53495390-0794-48d2-b2bb-21998ecc97f4
[I 13:39:06.521 NotebookApp] Adapting to protocol v5.1 for kernel 53495390-0794-48d2-b2bb-21998ecc97f4
[I 13:39:15.634 NotebookApp] Starting buffering for 53495390-0794-48d2-b2bb-21998ecc97f4:e377f92bbabd4f47b024a6bf73b98249
[W 13:39:43.618 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20190112133614 (10.0.0.75) 2.27ms referer=http://localhost:9999/notebooks/temp/Untitled.ipynb
[I 13:39:43.751 NotebookApp] Kernel started: 520a3c63-d490-4e66-8ddf-506d5ba90b9d
[W 13:40:43.844 NotebookApp] Timeout waiting for kernel_info reply from 520a3c63-d490-4e66-8ddf-506d5ba90b9d

我已经尝试了好几种方法,但没有一个能解决这个问题:

  1. 仅安装jupyter和笔记本即可创建全新的conda环境。
  2. 将笔记本降级并升级到各种版本
  3. 搜索互联网;尽管其他报告了类似的超时错误。但是,非e与此问题相同。

先谢谢了。

0 个答案:

没有答案