.ipynb文件 与ipython notebook

没有安装ipython notebook 后看见.ipynb文件直接手足无措了

一、安装ipython notebook

  使用命令 pip ipython [all] 为所有用户安装 ipython notebook

  最后安装了这么多:  

Successfully installed MarkupSafe-0.23 Sphinx-1.4.5 alabaster-0.7.8 babel-2.3.4 backports.shutil-get-terminal-size-1.0.0 colorama-0.3.7 configparser-3.5.0 decorator-4.0.10 docutils-0.12 entrypoints-0.2.2 functools32-3.2.3.post2 futures-3.0.5 imagesize-0.7.1 ipykernel-4.3.1 
ipyparallel-5.1.1 ipython-5.0.0 ipython-genutils-0.1.0 ipywidgets-5.2.2 jinja2-2.8 jsonschema-2.5.1 jupyter-client-4.3.0
jupyter
-core-4.1.0 mistune-0.7.3 nbconvert-4.2.0 nbformat-4.0.1 nose-1.3.7 notebook-4.2.1 pathlib2-2.1.0 pickleshare-0.7.3
prompt-toolkit-1.0.3 pygments-2.1.3 pyzmq-15.3.0 qtconsole-4.2.1 requests-2.10.0 simplegeneric-0.8.1 snowballstemmer-1.2.1 testpath-0.3 traitlets-4.2.2 wcwidth-0.1.7 widgetsnbextension-1.2.6 win-unicode-console-0.5

  有疑问可以访问:http://ipython.org/install.html

二、运行Ipython NoteBook

  $ipython notebook

C:\Users\Plain>ipython notebook
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in thefuture
[I 23:29:28.940 NotebookApp] Writing notebook server cookie secret to C:\Users\Plain\AppData\Roaming\jupyter\runtime\notebook_cookie_secret
[I 23:29:30.651 NotebookApp] Serving notebooks from local directory: C:\Users\Plain
[I 23:29:30.651 NotebookApp] 0 active kernels
[I 23:29:30.653 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 23:29:30.654 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

  很有趣,告诉我们,未来要使用:jupyter notebook 来运行Ipython NoteBook

  然后是一些cookie的存放位置之类的

--------------------------2016-7-25 23:32:56--

    source:

  

posted @ 2016-07-25 23:29  半天的半天  阅读(28597)  评论(2编辑  收藏  举报