作者:rwp4677210 | 来源:互联网 | 2023-10-11 11:13
尝试使用启动 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 notebook
和jupyter console
。只会jupyter lab
导致此错误消息。
回答
您可以像 krassowski 提到的那样更新 nbclassic 或禁用扩展 nbclassic 直到错误被修复。
就我而言,更新 nbclassic 在 Apple M1 上不起作用。所以,我不得不使用禁用它 -
jupyter server extension disable nbclassic