Q:无法在MacOS上启动JupyterLab

尝试使用启动 Jupyter Labjupyter lab会出现以下错误:

AttributeError: 'ExtensionManager' 对象没有属性 '_extensions'

如果这与 Python 有任何关系,我使用的是通过 Homebrew 安装的 3.9.5 版。

> which python3
python3: aliased to /usr/local/bin/python3
> python3 --version
Python 3.9.5

我使用 pip3 安装了 Jupyter。

但是,我可以使用jupyter notebookjupyter console。只会jupyter lab导致此错误消息。

回答

您可以像 krassowski 提到的那样更新 nbclassic 或禁用扩展 nbclassic 直到错误被修复。

就我而言,更新 nbclassic 在 Apple M1 上不起作用。所以,我不得不使用禁用它 -

jupyter server extension disable nbclassic


以上是Q:无法在MacOS上启动JupyterLab的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>