IPython Notebook error - Unreadable Notebook: Unsupported JSON nbformat
来源:互联网 发布:尤克里里调音软件推荐 编辑:程序博客网 时间:2024/06/02 06:36
1. 问题描述:
我在Terminal中输入命令:
$ ipython notebook
打开基于浏览器的ipython notebook,这时候一切正常,我可以看到当前目录下我的文件:
但是当我再点击这个文件去load它的时候,问题出现了:
Error loading notebook
Unreadable Notebook: Unsupported JSON
nbformat version 4 (supported version: 3)
2. 解决方案:
这个错误主要是因为打开的.ipynb文件是由比我电脑上安装的ipython更新版本的ipython生成的。所以我需要去更新一下我的ipython。解决方法是:
1.先将之前的ipython 卸载掉,我之前是用apt装的,所以
$ sudo apt remove ipython
2.然后再用Python Package Index安装最新版本的ipython:
$ sudo pip install ipython
然后我就兴高采烈地重新打开ipython notebook, 结果提示说:
ImportError: No module named notebook.notebookapp
现在连浏览器都打不开了,郁闷死…(哦如果你是连ipython都打不开的话,记得$ hash -r 一下)
后来仔细看了一下我新装的ipython版本是4.1.1。ipython从版本4.0以后就把notebook从python独立出来了,不仅支持ipython还支持R,matlab,并且改名为jupyter。
3.因此需要再安装一下jupyter:
$ sudo pip install jupyter
4.这时候再运行
$ jupyter notebook
问题就解决啦!!:)连网页标题都由原来的IP[y]:notebook变成了Jupyter。
0 0
- IPython Notebook error - Unreadable Notebook: Unsupported JSON nbformat
- ipython notebook
- Ipython notebook
- ipython notebook
- ipython+notebook
- IPython notebook
- ipython notebook
- ipython notebook
- ipython + notebook
- ipython notebook
- To Summarize the Error of Ipython Notebook
- ipython notebook http://localhost:8888/tree error
- Unreadable Notebook NotJSONError('Notebook does not appear to be JSON: u\'{\\n
- IPython notebook快捷键(Jupyter notebook)
- IPython notebook搭建
- ipython notebook安装教程
- IPython HTML NoteBook
- IPython HTML NoteBook
- 图片控件 - GifView
- Android项目学习
- listview精确监听向上向下的滚动
- 打印二进制位
- mongodb insert()和save()的相同点和区别
- IPython Notebook error - Unreadable Notebook: Unsupported JSON nbformat
- Mapnik简要介绍
- vim ctags omnicppcomplete 无法自动提示成员变量,总是提示“找不到模式”的解决方法
- matlab mex编程:gcc编译器切换
- MongoDB 安装
- PlaySound(WIN32 播放WAV声音)
- Mac系统下的Eclipse实现Android真机调试
- Target runtime Apache Tomcat v7.0 is not defined.
- Servlet