IPython4_Notebook

简介:

前言

最近又是CE认证又是折腾OpenSUSE,结果还把电脑给搞坏了。我的天,乖乖的安装Notebook吧。Eclipse就先再见了。

系统软件

  • OS 
    • Window10
  • 软件 
    • Python 3.4.3
    • IPython 4.0.3

Setup IPython

这个以前写个Linux下Setup Python&IPython的,传送门:http://blog.csdn.net/jmilk/article/details/48093421 
最近公司要求用Win(Sun the doge),那就再搞一次咯。:-( 
Python就略过了,直接某度下载,然后无限Next。 
(注意:勾选自动添加环境变量,安装完后重启或刷新环境变量)

Setup IPython

Win下的好处就是能省下安装pip和easy_install的两条指令

D:\development\Python3.X\Scripts>easy_install.exe ipython
  • 1
  • 1

Setup Notebook

Notebook是基于Web界面的IDE,需要安装多个模块。直接easy_install? 会让你有简直(Sun the doge)的感受。 
所以首先还是加入使用pypi镜像源吧。

http://pypi.douban.com/                  #豆瓣
http://pypi.hustunique.com/              #华中理工大学
http://pypi.sdutlinux.org/               #山东理工大学
http://pypi.mirrors.ustc.edu.cn/         #中国科学技术大学

  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5

临时指定镜像源

Install pyreadline

Tab自动补全

pip install pyreadline -i http://pypi.douban.com/simple
  • 1
  • 1

Install pyzmq

基于web的Notebook,使用zeromq传递套接字信息。

pip install pyzmq -i http://pypi.douban.com/simple
  • 1
  • 1

Install Tornado

Web Server Tornado。

pip install tornado -i http://pypi.douban.com/simple
  • 1
  • 1

Install jinja2

pip install jinja2 -i http://pypi.douban.com/simple
  • 1
  • 1

Install jupyter

如果你是IPython 4.X,那么还需要安装jupyter。IPython4以后将IPython和Notebook分离成为了IPython和Juoyter两个项目,官方将IPython4称之为Big Split。

pip install jupyter -i http://pypi.douban.com/simple
  • 1
  • 1

添加默认镜像源

创建文件:%$HOMEPATH%\pip\pip.ini 
pip.ini写入

[global]
index-url = http://pypi.douban.com/simple

  • 1
  • 2
  • 3
  • 1
  • 2
  • 3

以后使用pip python软件包管理工具就会自动引用指定的镜像源。

Start Notebook

ipython.exe notebook
  • 1
  • 1

Notebook Home

http://localhost:8888/tree
  • 1
  • 1

NotebookIndex

Done :-)

转载:http://blog.csdn.net/jmilk/article/details/50612783

目录
相关文章
|
4天前
|
Windows
Anaconda 与 Jupyter notebook
Anaconda 与 Jupyter notebook
14 0
|
8月前
|
数据可视化 Python
【jupyter notebook】
【jupyter notebook】
64 0
|
6月前
|
机器学习/深度学习 JavaScript 前端开发
Jupyter Notebook好用在哪?
Jupyter Notebook好用在哪?
70 0
|
10月前
|
Python
Jupyter-notebook 常用魔法命令
本文分享了一些常用到的 Jupyter-notebook 软件的快捷键以及 魔法命令,以供学习
124 0
|
Go Python
安装 Jupyter Notebook
安装 Jupyter Notebook
252 0
|
搜索推荐 程序员 Shell
15个应该掌握的Jupyter Notebook 使用技巧
15个应该掌握的Jupyter Notebook 使用技巧
448 3
15个应该掌握的Jupyter Notebook 使用技巧
|
机器学习/深度学习 数据挖掘
|
Python
Jupyter Notebook 使用入门
Jupyter Notebook官方介绍是基于网页的用于交互计算的应用程序。其可被应用于全过程计算:开发、文档编写、运行代码和展示结果。简单的说以网页的形式编写代码并且展示代码运行结果。
237 0
|
编解码 Python
Ipython notebook中matplotlib画图
Ipython notebook中matplotlib画图
197 0
Ipython notebook中matplotlib画图
|
JSON 数据可视化 数据挖掘
Jupyter Notebook 介绍| 学习笔记
快速学习 Jupyter Notebook 介绍
182 0
Jupyter Notebook 介绍| 学习笔记