moc*_*ash 4 git jupyterhub jupyter-lab
我正在尝试在 jupyterlab 中安装 git 扩展,但出现如下错误。所有服务器扩展均已启用,但未加载。
(base) [root@user01 opt]# jupyter serverextension list
config dir: /opt/anaconda3/etc/jupyter
jupyterlab enabled
- Validating...
jupyterlab 2.2.6 OK
jupyterlab_git enabled
- Validating...
jupyterlab_git 0.23.3 OK
nbdime enabled
- Validating...
nbdime 2.1.0 OK
Run Code Online (Sandbox Code Playgroud)
正如另一个页面中所建议的那样,我已经安装了jupyter_nbextensions_configurator,但仍然没有帮助。我正在 Linux 机器上从 jupyterhub 运行 jupyterlab。
这是jupyterlab-git 0.22.2 中引入的已知错误。GitHub问题中的评论提到刷新浏览器可能会有所帮助,但我还没有尝试过。此问题已在 JupyterLab 3.0 的新版本中得到修复 - 您可以使用以下命令安装它:
pip install jupyterlab==3
pip install jupyterlab-git==0.30
Run Code Online (Sandbox Code Playgroud)
如果您还无法更新到 JupyterLab 3.x,您可以降级到不受影响的 0.22.1:
pip install jupyterlab-git==0.22.1
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11759 次 |
| 最近记录: |