Nicht lesbares Notizbuch: Nicht unterstützte JSON nbformat-Version 4 (unterstützte Version: 3)
Ich habe gerade installiertIPython
3.0 mitpip
auf meinem Laptop, der läuftUbuntu
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)
Allerdings, wenn ich gehe, um @ zu verwendIPython
, das Terminal scheint zu glauben, dass es Version 1.2.1 verwendet:
$ 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]
Was schlimmer ist, wenn ich gehe, um ein Notebook in JSON nbformat Version 4 zu öffnen, dieIPython
3.0 unterstützt, bekomme ich den folgenden Fehler:
Unreadable Notebook: Unsupported JSON nbformat version 4 (supported version: 3)
Ich habe versucht, das Notebook mit dem von @ empfohlenen Befehl auf Version 3 herunterzustufeIPython
team, aber das scheitert auch bei mir:
$ ipython nbconvert --to notebook --nbformat 3 1-intro-to-brian-neurons.ipynb
. . .
[NbConvertApp] CRITICAL | Bad config encountered during initialization:
[NbConvertApp] CRITICAL | Unrecognized flag: '--nbformat'
Was ist denn hier los