Unable to resolve "Error: Git server extension is unavailable." (Google Notebooks)

Unable to resolve "Error: Git server extension is unavailable." (Google Notebooks)

最近几天创建新的笔记本实例后,打开时出现与 Git 服务器扩展相关的内部错误:

Internal Error:

Fail to get the server root path. Error: Git server extension is unavailable. Please ensure you have installed the JupyterLab Git server extension by running: pip install --upgrade jupyterlab-git. To confirm that the server extension is installed, run: jupyter serverextension list.

这意味着我无法使用 Git 克隆按钮 returns:

Clone failed:

JSON.parse: unexpected character at line 1 column 1 of the JSON data

其他人也遇到过这种情况吗?我按照建议尝试了 pip install --upgrade jupyterlab-git,但似乎没有解决任何问题。下面是我的笔记本实例设置(如果没有指定它是默认的):

Region: us-west1 (Oregon)

Zone: us-west1-a

Environment: TensorFlow Enterprise 2.1 (with Intel® MKL-DNN/MKL and CUDA 10.1)

Machine type: n1-standard-4 (4vCPUs, 15 GB RAM)

GPU type: NVIDIA Tesla T4

Number of GPUs: 1

✓ Install NVIDA GPU driver automatically for me

我对 Google Cloud 还是很陌生,这是我的第一个 Whosebug post。

这是一个已知问题,已在新发布的映像 (m47) 中解决。