[英]500 internal server error when I launch Jupyter notebook
I currently decided to re-install jupyter since the kernel was continuously stopping.我目前决定重新安装 jupyter,因为 kernel 不断停止。 After having conda uninstalled ipykernel and re-installed it back, I incurred in a series of issues:
在 conda 卸载 ipykernel 并重新安装后,我遇到了一系列问题:
I am currently on Mac OS Catalina Version 10.15.7.我目前使用的是 Mac OS Catalina 版本 10.15.7。 I have done a conda list and apparently everything is installed on the (base) environment where I am operating, namely:
我已经完成了一个 conda 列表,显然所有内容都安装在我正在运行的(基本)环境中,即:
ipykernel 6.15.2 pypi_0 pypi
...
jupyter 1.0.0 py38hecd8cb5_8
jupyter-client 7.3.5 pypi_0 pypi
jupyter-console 6.4.4 pypi_0 pypi
jupyter-telemetry 0.1.0 pypi_0 pypi
jupyter_client 7.3.4 py38hecd8cb5_0
jupyter_console 6.4.3 pyhd3eb1b0_0
jupyter_core 4.10.0 py38hecd8cb5_0
jupyter_server 1.13.5 pyhd3eb1b0_0
jupyterhub 2.3.1 pypi_0 pypi
jupyterlab 3.3.2 pyhd3eb1b0_0
jupyterlab-pygments 0.2.2 pypi_0 pypi
jupyterlab-widgets 3.0.3 pypi_0 pypi
jupyterlab_server 2.10.3 pyhd3eb1b0_1
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
...
nbconvert 7.0.0 pypi_0 pypi
Am I doing something wrong?难道我做错了什么? How can I solve the issue with all the needed packages up to date?
如何解决所有需要的最新软件包的问题?
EDIT: Furthermore when I type simple commands such as conda list the following appears:编辑:此外,当我键入简单的命令(如 conda list)时,会出现以下内容:
(base) MacBook-Pro-di-federico:Dropbox federiconutarelli$ conda list
Error processing line 1 of /Users/federiconutarelli/opt/anaconda3/lib/python3.8/site-packages/matplotlib-3.5.2-py3.8-nspkg.pth:
Traceback (most recent call last):
File "/Users/federiconutarelli/opt/anaconda3/lib/python3.8/site.py", line 169, in addpackage
exec(line)
File "<string>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 553, in module_from_spec
AttributeError: 'NoneType' object has no attribute 'loader'
Reminder of file ignored
...
before listing the packages.在列出软件包之前。
Thank you谢谢
In my case, I had this problem (500 internal server error) since I had updated the "mistune" to the latest version.就我而言,我遇到了这个问题(500 内部服务器错误),因为我已将“mistune”更新到最新版本。
Apparently, jupyter tasks are not compatible with "mistune" >= 2.0显然,jupyter 任务与“mistune”>= 2.0 不兼容
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.