Catalina 操作系统更新后出现 Jupyter 内核错误(Anaconda 修复后)

0 python anaconda jupyter-notebook

我已经尝试了 Anaconda 在他们的博客中发布的修复(使用 .sh 重新安装),但在加载 Jupyter 时仍然遇到内核错误(安装后找不到“Users/User/anaconda3”)。

在此之前,我也尝试过使用 Home-brew 安装 Python,但是当从这个环境运行 Jupyter 时,它仍然给我带来与现在相同的错误:

    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/anaconda3/bin/python': '/anaconda3/bin/python'
Run Code Online (Sandbox Code Playgroud)

有没有办法编辑 Jupyter 在这里寻找的目录?

还有其他想法吗?

博客文章:https ://www.anaconda.com/how-to-restore-anaconda-after-macos-catalina-update/

小智 5

这对我有用:基本上,运行

python -m ipykernel install --user
Run Code Online (Sandbox Code Playgroud)

https://github.com/jupyter/notebook/issues/2301