Jupyter Notebook报错'500 : Internal Server Error'的解决方法

发布时间 2023-11-21 14:53:41作者: DECHIN

问题根因

Jupyter相关的软件包版本匹配存在问题,或者历史上安装过Jupyter相关的配套软件但是有残留。大部分网上的博客都是推荐用pip重装jupyter或者nbconvert,亲测无法解决该问题。

解决方案

按照指定的匹配版本,全部重装ipython、jupyter和notebook等软件,目前来说,另一篇博客中推荐的这个版本配套是可以正常使用的:

$ python3 -m pip install ipykernel==6.20.0 ipywidgets==8.1.1 jupyter_client==8.1.0 jupyter_core==5.4.0 jupyter_server==2.7.3 jupyterlab==4.0.7 nbclient==0.6.0 nbconvert==6.5.4 nbformat==5.7.0 notebook==6.5.4 ipython==7.34.0

重装完成后,重新运行jupyter notebook,可以正常打开ipynb的文件。

参考链接

  1. https://blog.csdn.net/weixin_42896263/article/details/133821053

版权声明

本文首发链接为:https://www.cnblogs.com/dechinphy/p/fix500.html

作者ID:DechinPhy

更多原著文章:https://www.cnblogs.com/dechinphy/

请博主喝咖啡:https://www.cnblogs.com/dechinphy/gallery/image/379634.html