终端日志“无法打开静态文件”时,Jupyter notebok内核不断崩溃

Olg*_*lga 6 scikit-learn jupyter jupyter-notebook python-3.7

概括一下问题-jupyter笔记本需要大约5秒钟来导入大熊猫,并且每次在小型数据集上运行get_dummiestrain_test_split时,内核都会死亡。

在我复制了笔记本并开始处理副本之后,该问题出现了,迫使笔记本信任内核。从那以后,我重新安装了conda和OS,重新启动了计算机,清除了缓存,并尝试了开发者论坛上讨论的所有其他小技巧。

终端错误日志如下所示:

[E 18:15:37.956 NotebookApp] Could not open static file ''

[W 18:15:38.024 NotebookApp] 404 GET /static/components/react/react-dom.production.min.js (::1) 17.00ms referer=http://localhost:8888/tree?token=6b3d
Run Code Online (Sandbox Code Playgroud)

这是我拥有的jupyter软件包:

jupyter --version
jupyter core     : 4.5.0
jupyter-notebook : 6.0.0
qtconsole        : 4.5.1
ipython          : 7.6.1
ipykernel        : 5.1.1
jupyter client   : 5.3.1
jupyter lab      : 1.0.2
nbconvert        : 5.5.0
ipywidgets       : 7.5.0
nbformat         : 4.4.0
traitlets        : 4.3.2
Run Code Online (Sandbox Code Playgroud)

感谢任何提示或预感!谢谢。

Say*_*ane 0

您已重新安装 conda,但尚未更新 jupyter。尝试使用以下命令:

conda update jupyter 
Run Code Online (Sandbox Code Playgroud)

我也遇到了类似的问题,使用上述命令更新后我的笔记本恢复正常。