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

僤鯓⒐⒋嵵緔 提交于 2020-06-27 16:59:46

问题


After creating a new notebook instance in the last few days there is an internal error relating to the Git server extension when opened:

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.

This means I can't use the Git clone button which returns:

Clone failed:

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

Has this been occurring for others? I tried the pip install --upgrade jupyterlab-git as suggested but that didn't seem to fix anything. Below is my notebook instance setup (if not specified it is the default):

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

I'm still quite new with both Google Cloud and this is my first Stackoverflow post.


回答1:


This is a known issue and is solved in in the newly released images (m47).



来源:https://stackoverflow.com/questions/61752903/unable-to-resolve-error-git-server-extension-is-unavailable-google-notebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!