.ipynb文件 与ipython notebook

摘要:
没有安装ipythonnotebook后看见.ipynb文件直接手足无措了一、安装ipythonnotebook使用命令pipipython[all]为所有用户安装ipythonnotebook最后安装了这么多:  SuccessfullyinstalledMarkupSafe-0.23Sphinx-1.4.5alabaster-0.7.8babel-2.3.4backports.shutil-g

没有安装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:UsersPlain>ipython notebook
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated andwill be removed infuture versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` inthefuture
[I 23:29:28.940NotebookApp] Writing notebook server cookie secret to C:UsersPlainAppDataRoamingjupyter
untime
otebook_cookie_secret
[I 23:29:30.651 NotebookApp] Serving notebooks fromlocal directory: C:UsersPlain
[I 23:29:30.651NotebookApp] 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 andshut down all kernels (twice to skip confirmation).

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

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

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

source:

免责声明:文章转载自《.ipynb文件 与ipython notebook》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇GITHUB下载源码easyui datagrid 可过滤行的数据表格 导出下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

jupyter之配置自己喜欢的python环境

之前安装anaconda,会自动安装jupyer笔记本,但是本人从来没有用过,近期查看github上的一些教程时,发现很多文件都是.ipynb为后缀的jupyter文件,于是自己准备琢磨一下把环境换成已有的py环境(我自己设置的python环境中有一些之前安好的包),毕竟jupyer的界面比ipython啥的要好看很多,也方便修改和可视化。 一、查看jup...

ubuntu18.04server服务器系统下为python安装虚拟显示器 (使用jupyter notebook在web端播放openai的gym下保存的运行视频——需安装ipython)

1. 安装xvfb sudo apt-get install xvfb Xvfb是流行的虚拟现实库,可以使很多需要图形界面的程序虚拟运行。 2. 安装pyvirtualdisplay pyvirtualdisplay 是Xvfb的 python 封装。 pip install pyvirtualdisplay 3. 在 Ubuntu 上安装OpenGL...

windows 安装使用jupyter及 基础配置

jupyter 是什么Jupyter Notebooks 是一个交互式笔记本,支持运行 40 多种编程语言,它的本质是一个 开源的 Web 应用程序,我们可以将其用于创建和共享代码与文档,他可以支持实时代码,数学方程,可视化和 markdown。Jupyter Notebooks提供了一个环境,让你可以无需离开这个环境,就可以在其中编写你的代码、运行代码、...

Jupyter修改默认目录

Jupyter修改默认目录 (windows版本) 1、打开Anaconda Prompt 在菜单栏中搜索即可 2、打开Jupyter安装目录(以下安装目录是我的安装目录,作为示例) cd D:PythonAnaconda3Scripts 3、输入以下命令,生成Jupyter_notebook_config.py 文件 jupyter notebook -...

今天我的jupyter notebook打不开了,报错原因'No module named 'zmq.eventloop'

今天我的jupyter notebook打不开了,就是那种一打开出现黑色界面就退出的那种,惊恐爬上了我的面颊。 找了一个小时,试了好几种办法(包括别人说的什么把属性里面后面的%%的去掉)终究无果 打开anaconda prompt,输入jupyter notebook 立即报错 Traceback (most recent call last):File...

linux安装IPython四种方法

IPython是Python的交互式Shell,提供了代码自动补完,自动缩进,高亮显示,执行Shell命令等非常有用的特性。特别是它的代码补完功能,例如:在输入zlib.之后按下Tab键,IPython会列出zlib模块下所有的属性、方法和类。完全可以取代自带的bash 下面介绍下linux安装IPython四种方法: 第一种:ipython源码安装ipy...