安装后的Jupyter" Anaconda"

时间:2018-03-17 18:56:53

标签: anaconda jupyter-notebook jupyter

我曾经和Anaconda合作过一段时间,现在我正在尝试安装它并面临Jupyter的一些问题。我尝试启动Jupyter我得到了

http://localhost:8892/undefined/tree

有没有办法将默认浏览器从Internet Explorer更改为Google Crome?

A screen shot

1 个答案:

答案 0 :(得分:0)

从命令行

启动

您可以键入jupyter-notebook.exe --help以获取命令行选项。您感兴趣的人如下所示:

--browser=<Unicode> (NotebookApp.browser)
Default: ''
Specify what command to use to invoke a web browser when opening the
notebook. If not specified, the default browser will be determined by the
`webbrowser` standard library module, which allows setting of the BROWSER
environment variable to override it.

所以jupyter-notebook.exe --browser='chrome'应该有效。您可以将此命令合并到Windows快捷方式中,也可以考虑下面的替代方法。

更改您的配置

从命令行输入jupyter-notebook.exe --generate-config,它将在jupyter_notebook_config.py目录中创建名为C:\Users\<user>\.jupyter的配置文件。打开此文件并取消注释包含c.NotebookApp.browser的行。然后将其值设置为'chrome'

相关问题