本文介绍了Jupyter Notebook验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在jupyter笔记本中打开文件时,出现此错误.
When I open a file in jupyter notebook, I get this error.
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
}
推荐答案
我遇到了同样的问题,并且此解决方案的工作原理很吸引人:
I had the same problem and this solution works like a charm:
https://gitmemory.com/issue/jupyter/nbformat/161/574959380
TLDR:在文本编辑器上打开文件,然后将"nbformat_minor":1替换为"nbformat_minor":4
TLDR: open your file on a text editor and replace "nbformat_minor": 1 with "nbformat_minor": 4
这篇关于Jupyter Notebook验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!