1吏口。安裝pyzmq
使用pip install pyzmq,安裝不成功旬盯。
使用easy_install.exe pyzmq,安裝成功憨颠。
2.安裝tornado
pip tornado
安裝完尚不成功湿酸,繼續(xù)找
3.安裝jinja2
pip install jinja2
4.
運行依舊不成功婿屹,提示錯誤:
IPython?notebook?format?depends?on?the?jsonschema?package:
https://pypi.python.org/pypi/jsonschema
Please?install?it?first.
繼續(xù)安裝:
pip install jsonschema
按照提示安裝完成。
運行:ipython notebook
出現(xiàn)jupyter,在其右側(cè)推溃,選擇“new”昂利,選擇“Python2”
開始jupyter
如今更名為:jupyter,即為原來的notebook
參考資料:
1.http://my.oschina.net/u/1431433/blog/189337
2.http://blog.163.com/jinjunwei2003jinjunwei2003jinjunwei2003@126/blog/static/3185204320139239624489/
3.http://news.sciencenet.cn/htmlnews/2014/11/307201.shtm
-----------------
補充铁坎,關(guān)于保存:
nbconvert failed: No module named pygments.formatters
pip install pygments
nbconvert failed: you need to have pywin32 installed for this to work
pip install pywin32
失敗蜂奸。Collecting pywin32
Could not find a version that satisfies the requirement pywin32 (from versions
: )
Some externally hosted files were ignored as access to them may be unreliable
(use --allow-external pywin32 to allow).
No matching distribution found for pywin32
從地址:http://sourceforge.net/projects/pywin32/files/pywin32/
選擇合適的安裝包即可,是exe可執(zhí)行文件硬萍。
第一次下載居然不成功扩所,革命尚未成功,革命仍需努力朴乖,繼續(xù)下載祖屏。
第二次下載下來的文件只有599k,文件實際7M多买羞,懷疑被防火墻攔截袁勺,關(guān)掉防火墻再試。
保存為網(wǎng)頁哩都、py等都可以了魁兼,但是保存為通過lateX的pdf還是有錯:
nbconvert failed: command could not be found: pdflatex
安裝:pdflatex,pip install pdflatex,提示錯誤:
Collecting pdflatex
Could not find a version that satisfies the requirement pdflatex (from version
s: )
No matching distribution found for pdflatex
還沒找到對應(yīng)方法漠嵌。