无法解决“错误:Git服务器扩展不可用." (Google笔记本) [英] Unable to resolve "Error: Git server extension is unavailable." (Google Notebooks)
问题描述
最近几天创建一个新的笔记本实例后,打开时与Git服务器扩展有关的内部错误:
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:
无法获取服务器根路径.错误:Git服务器扩展不可用.请通过运行以下命令确保已安装JupyterLab Git服务器扩展:pip install --upgrade jupyterlab-git.要确认已安装服务器扩展,请运行:jupyter serverextension list.
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克隆按钮:
This means I can't use the Git clone button which returns:
克隆失败:
Clone failed:
JSON.parse:JSON数据第1行第1列的意外字符
JSON.parse: unexpected character at line 1 column 1 of the JSON data
这是否正在为其他人发生?我按照建议尝试了pip install --upgrade jupyterlab-git
,但似乎没有解决任何问题.下面是我的笔记本实例设置(如果未指定,则为默认设置):
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):
地区:us-west1(俄勒冈州)
Region: us-west1 (Oregon)
区域:us-west1-a
Zone: us-west1-a
环境:TensorFlow Enterprise 2.1(带有英特尔®MKL-DNN/MKL和CUDA 10.1)
Environment: TensorFlow Enterprise 2.1 (with Intel® MKL-DNN/MKL and CUDA 10.1)
机器类型:n1-standard-4(4vCPU,15 GB RAM)
Machine type: n1-standard-4 (4vCPUs, 15 GB RAM)
GPU类型:NVIDIA Tesla T4
GPU type: NVIDIA Tesla T4
GPU数量:1
✓自动为我安装NVIDA GPU驱动程序
✓ Install NVIDA GPU driver automatically for me
我对Google Cloud还是很陌生,这是我的第一篇Stackoverflow帖子.
I'm still quite new with both Google Cloud and this is my first Stackoverflow post.
推荐答案
This is a known issue and is solved in in the newly released images (m47).
这篇关于无法解决“错误:Git服务器扩展不可用." (Google笔记本)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!