Jupyter Notebook 验证失败

1 jupyter-notebook

当我在 jupyter 笔记本中打开文件时,出现此错误。

在此输入图像描述

Notebook validation failed: {'model_id': '47c3f67b01814c2baeeca6efa0a79e2d', 'version_major': 2, 'version_minor': 0} is not valid under any of the given schemas:
{
 "model_id": "47c3f67b01814c2baeeca6efa0a79e2d",
 "version_major": 2,
 "version_minor": 0
}
Run Code Online (Sandbox Code Playgroud)

amk*_*wai 6

我遇到了同样的问题,这个解决方案很有魅力:

https://github.com/jupyter/nbformat/issues/161

TLDR:在文本编辑器上打开文件并将“nbformat_minor”:1替换为“nbformat_minor”:4