Reputation: 2747
I'm missing something really obvious here but I want to load an existing .ipynb file in my own ipython session. I've tried the following:
$ ipython dream.ipynb
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/home/me/develop/deepdream/dream.ipynb in <module>()
33 {
34 "cell_type": "code",
---> 35 "collapsed": false,
36 "input": [
37 "# imports and basic notebook setup\n",
NameError: name 'false' is not defined
(Google's deepdream notebook) but the json syntax isn't good? I am using the ipython from Anaconda 2.3.0, python 3.4.0 and ipython qtconsole 3.2.0.
Upvotes: 20
Views: 14332
Reputation: 4145
It's better to use jupyter notebook dream.ipynb
.
The ipython notebook
command will be deprecated in the future.
Upvotes: 1
Reputation: 3857
You should try to launch an ipython notebook server via ipython notebook
, i.e. specifically this command and not the name of the notebook, and to simply load the specific notebook from your webbrowser.
Upvotes: 2
Reputation: 879083
You must start ipython notebook
, otherwise ipython
tries to execute dream.ipynb
as though it were a file containing Python code:
ipython notebook dream.ipynb
Upvotes: 33