推出了IPython笔记本,但无法通过浏览器登录

时间:2015-06-12 11:46:35

标签: ipython-notebook

我正在尝试通过浏览器登录我的笔记本,但Chrome显示"此网页不可用" 我的终端上有以下内容:

[ec2-user@ip-172-31-24-217 .ipython]$ ipython notebook --profile=nbserver
[I 11:31:38.289 NotebookApp] Using existing profile dir: u'/home/ec2-user/anaconda/.ipython/profile_nbserver'
[I 11:31:38.295 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 11:31:38.310 NotebookApp] Serving notebooks from local directory: /home/ec2-user/anaconda/.ipython
[I 11:31:38.311 NotebookApp] 0 active kernels 
[I 11:31:38.311 NotebookApp] The IPython Notebook is running at: https://[all ip addresses on your system]:8888/
[I 11:31:38.311 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

有人可以帮助弄清楚有0个活动内核吗?我在ipython_nootbook_config.py文件中添加了以下内容

#kernel config
c.IPkernelApp.pylab='inline' # if you want plotting support always

#Notebook config
c.NotebookApp.certfile=u'/home/ec2-user/anaconda/certificates/mycert.pem'
c.NotebookApp.ip='*'
c.NotebookApp.open_browser=False
c.NotebookApp.password=u'sha1:0d4773e470e5:2a91dcf5a15875f15c4ad18f9d3
4c95be563f804'
#It is a good idea to put it on a known, fixed port
c.NotebookApp.port=8888
#-------------------------

1 个答案:

答案 0 :(得分:1)

运行内核的数量与此无关。 您正在访问哪个页面? http://<ip>:8888?你忘了s中的https了吗?你有代理设置吗? Sophos杀毒软件?在公司网络上?