Python git下载Jupyter Notebook [英] Python git downloading Jupyter Notebook
问题描述
我正在尝试从git下载Jupyter Notebook.我通过右键单击文件并保存来下载了笔记本.这是一个ipynb文件,但对于我应该包含的内容(114 kb),文件大小似乎有点大.当我在Jupyter中单击Notebook时,出现以下错误:
I am trying to download a Jupyter Notebook from git. I downloaded the notebook by right clicking on the file and saving it. It is an ipynb file, but the file size seems a bit big to me for the content that it should contain (114 kb). When I click on the Notebook in Jupyter I get the following error:
不可读的笔记本:C:\ filename.ipynb NotJSONError(笔记本似乎不是JSON:'\ n \ n
该错误如何解决?我可以打开笔记本吗?
Unreadable Notebook: C:\filename.ipynb NotJSONError("Notebook does not appear to be JSON: '\n\n
how can this error be solved and can I be able to open the Notebook?
推荐答案
您可能已经下载了github用来显示笔记本的html.要下载笔记本本身,可以使用github中的原始"文件链接.
You probably downloaded the html github uses to display a notebook. To download the notebook itself, you can use the "raw" file link in github.
这篇关于Python git下载Jupyter Notebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!