ipython notebook

安装pip:

$ sudo apt-get install python-pip

安装(升级)ipython:

$ sudo pip install (--upgrade) ipython==1.1.0

安装依赖项:

$ sudo apt-get install python-matplotlib python-scipy python-pandas python-sympy python-nose

安装ipython notebook依赖项 jinja2:

$ sudo pip install jinja2

ipython nbconvert工具依赖 pandoc , pygments, sphinx:

$ sudo apt-get install pandoc

$ sudo pip install pygments

$ sudo pip install sphinx

安装latex工具:

$ sudo apt-get install texlive-latex-extra texlive-latex-recommended  texlive-fonts-recommended

使用ipython notebook:

$ ipython notebook 

$ ipython notebook --pylab inline (图像会嵌入到网页中)

将.ipynb文件转为pdf格式:

$ ipython nbconvert xxx.ipynb --to latex --post PDF

posted on 2013-11-06 15:19  buptpatriot  阅读(600)  评论(0编辑  收藏  举报

导航