dbl*_*iss 21 ubuntu json ipython ipython-notebook ubuntu-14.04
我刚刚在我的笔记本电脑上安装了IPython
3.0 pip
,运行Ubuntu
14.04:
$ pip search ipython
ipython-cluster-helper - Simplify IPython cluster start up and use for
multiple schedulers.
ipython - IPython: Productive Interactive Computing
INSTALLED: 3.0.0 (latest)
Run Code Online (Sandbox Code Playgroud)
但是,当我去使用时IPython
,终端似乎认为它使用的是1.2.1版本:
$ ipython
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]
Run Code Online (Sandbox Code Playgroud)
更糟糕的是,当我在JSON nbformat版本4(IPython
3.0支持)中打开笔记本时,我收到以下错误:
Unreadable Notebook: Unsupported JSON nbformat version 4 (supported version: 3)
Run Code Online (Sandbox Code Playgroud)
我试图使用IPython
团队建议的命令将笔记本降级到版本3 ,但这对我来说也失败了:
$ ipython nbconvert --to notebook --nbformat 3 1-intro-to-brian-neurons.ipynb
. . .
[NbConvertApp] CRITICAL | Bad config encountered during initialization:
[NbConvertApp] CRITICAL | Unrecognized flag: '--nbformat'
Run Code Online (Sandbox Code Playgroud)
这里发生了什么?
归档时间: |
|
查看次数: |
14826 次 |
最近记录: |