我尝试在 ubuntu 命令行上运行一个 ipython 笔记本:###
$ ipython assignment1.ipynb
-----------------------------------------------------------------------------
NameError Traceback (most recent call last)
/path/to/notebook/assignment1.ipynb in <module>()
36 {
37 "cell_type": "code",
---> 38 "execution_count": null,
39 "metadata": {
40 "collapsed": false
NameError: name 'null' is not defined
编辑:
我想像this这样打开终端中的笔记本
但我得到的是this
最佳答案
您正在尝试运行 IPython 笔记本,因此您的命令是错误的。 ipython notebook Playing_with_TensorFlow.ipynb
应该可以解决问题。
IPython Notebook ( http://ipython.org/notebook.html ) is a web based extension of iPython. It's very powerful and convenient and It allows you to mix code, annotation, text, figures into a single interactive document.
并且在未来,请不要发布您的问题的屏幕截图,而是将其键入,请参阅 how to ask a question page .
关于linux - 在命令行 (Ubuntu) 上运行 Ipython notebook 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44450304/