嗨,我已经建立了一个带有多个扩展的 Jupyterlab,其中包括 jupyterlab-git 扩展。当我跑步时
jupyter labextension list
我得到:
JupyterLab v2.2.9
Known labextensions:
app dir: C:\ProgramData\Anaconda3\envs\datamesh\share\jupyter\lab
@elyra/code-snippet-extension v1.5.3 enabled ok
@elyra/metadata-extension v1.5.3 enabled ok
@elyra/pipeline-editor-extension v1.5.3 enabled ok
@elyra/python-editor-extension v1.5.3 enabled ok
@elyra/theme-extension v1.5.3 enabled ok
@jupyterlab/git v0.23.1 enabled ok
@jupyterlab/toc v4.0.0 enabled ok
jupyterlab_filetree v0.2.2 enabled ok
nbdime-jupyterlab v2.0.1 enabled ok
和这里一样
jupyter serverextension list
我得到:
config dir: C:\ProgramData\Anaconda3\envs\datamesh\etc\jupyter
elyra enabled
- Validating...
elyra 1.5.3 ok
jupyterlab enabled
- Validating...
jupyterlab 2.2.9 ok
jupyterlab_git enabled
- Validating...
jupyterlab_git 0.23.1 ok
nbdime enabled
- Validating...
nbdime 2.1.0 ok
nbresuse enabled
- Validating...
nbresuse ok
但是当我启动 jupyterlab 时,我得到了这个:
Failed to load the jupyterlab-git server extension
git command not found - please ensure you have Git > 2 installed
当然是安装了git!
如何解决这个问题?我搜索了高低,但找不到解决方法。