无法在浏览器上打开jupyter(ipython)笔记本 [英] unable to open jupyter(ipython) notebook on browser

查看:473
本文介绍了无法在浏览器上打开jupyter(ipython)笔记本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用python3.5jupyter 4.0.6.我启动了jupyter notebook,并获得以下输出:

I'm using python3.5 and jupyter 4.0.6. I launched the jupyter notebook, and get the following output:

[I 21:47:27.021 NotebookApp] Serving notebooks from local directory: /home/nitrous
[I 21:47:27.021 NotebookApp] 0 active kernels
[I 21:47:27.021 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 21:47:27.022 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 21:47:27.023 NotebookApp] No web browser found: could not locate runnable browser.

firefox浏览器上

,我键入了指定的localhost URL:http://localhost:8888/,但收到了unable to connect错误消息.我想念什么?是此行上问题的提示:

on my firefox browser, I typed the specified localhost url: http://localhost:8888/ but I get unable to connect error message. What am I missing? is the hint of the problem on this line:

[W 21:47:27.023 NotebookApp] No web browser found: could not locate runnable browser.

这是我第一次使用笔记本电脑.我试图将以下代码放入jupyter_notebook_config.py文件中,但无济于事:

it is my first time using the notebook. I tried to put the below code in the jupyter_notebook_config.py file but to no avail:

c.NotebookApp.open_browser = True
c.NotebookApp.browser = 'firefox'

它也说0 active kernels.那是问题吗?

it also says 0 active kernels. is that a problem?

推荐答案

在ec2实例上运行Jupyter时,我遇到了同样的问题. 我通过执行以下命令解决了这个问题:

While running Jupyter on my ec2 instance I had faced the same issue. I resolved it by executing the following command :

jupyter笔记本-无浏览器

jupyter notebook --no-browser

最初它将显示0个活动内核,一旦我们开始在Python,R等不同环境上创建笔记本,它将向我们显示活动内核的数量.

这篇关于无法在浏览器上打开jupyter(ipython)笔记本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆