安装python后电脑无法启动_安装IPython开发版后,IPython笔记本无法启动

I tried today to install the dev version of IPython, but when i run "ipython notebook --pylab=inline"

I get an empty notebook opens (no dash board, just a whit blank page) and the command line says:

WARNING:tornado.access:404 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css (127.0.0.1) 0

2013-08-05 16:49:57.365 [tornado.access] WARNING | 404 GET /static/components/jquery/jquery.min.js (127.0.0.1

WARNING:tornado.access:404 GET /static/components/jquery/jquery.min.js (127.0.0.1) 0.00ms

2013-08-05 16:49:57.367 [tornado.access] WARNING | 404 GET /static/components/requirejs/require.js (127.0.0.1

WARNING:tornado.access:404 GET /static/components/requirejs/require.js (127.0.0.1) 0.00ms

2013-08-05 16:49:57.371 [tornado.access] WARNING | 404 GET /static/components/bootstrap/bootstrap/js/bootstra

WARNING:tornado.access:404 GET /static/components/bootstrap/bootstrap/js/bootstrap.min.js (127.0.0.1) 1.00ms

2013-08-05 16:49:57.372 [tornado.access] WARNING | 404 GET /static/components/jquery-ui/ui/minified/jquery-ui

WARNING:tornado.access:404 GET /static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 1.00ms

It might be due to the installation I did, which was by the guidance in ipython site, but still didnt go smooth. this is what i did:

installed python.

installed disutils

installed pip

installed git (from an installer)

cloned the ipython code using git

installed ipython.

I thought that was enough. but when I tried to launch the notebook it failed, telling me that pyzmq is not found. so I installed pyzmq. next launch failed as well, this time because of jinja2. so i installed it too. next i installed tornado.. and so on until i got the notebook up. but when it did, happen the mentioned in the top.

Cant figure out what went wrong. any help?

解决方案

The dependencies can be installed like so

pip install pyzmq jinja2 tornado

However, an easier way to install is to

pip install .[notebook] # These brackets are literally there, not optional

As for the weirdness with static files, I've run into this problem when coding against the master branch, as there are git submodules. The current version of pip should be able to resolve these submodules. If yours doesn't, within the ipython directory (after you clone it) run

git submodule init

git submodule update

Now install IPython + IPython notebook

pip install .[notebook]

However, you could just install IPython 1.0's release candidate directly:

pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0-rc1.tar.gz#egg=ipython-1.0.0-rc1

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值