简体   繁体   English

Jupyter Notebook 更改默认浏览器后不打开浏览器

[英]Jupyter Notebook does not open browser after changing the default browser

The default browser for my Jupyter Notebook was Internet Explorer and it was working fine with that.我的 Jupyter Notebook 的默认浏览器是 Internet Explorer,它运行良好。 I have windows 10. I changed the default browser to Firefox by following steps in this website :我有 Windows 10。我按照本网站中的步骤将默认浏览器更改为 Firefox:

https://support.anaconda.com/hc/en-us/articles/360024044333-Change-default-browser-in-Jupyter-Notebook https://support.anaconda.com/hc/en-us/articles/360024044333-Change-default-browser-in-Jupyter-Notebook

However now the notebook does not start automatically in Firefox and it tells me to copy and paste:但是现在笔记本不会在 Firefox 中自动启动,它告诉我复制和粘贴:

Copy/paste this URL into your browser when you connect for the first time,第一次连接时,将此 URL 复制/粘贴到浏览器中,

Can anyone tell me how to open Jupyter Notebook automatically in Firefox since above were the steps recommended by anaconda website.谁能告诉我如何在 Firefox 中自动打开 Jupyter Notebook,因为上面是 anaconda 网站推荐的步骤。 By the way after copying and pasting the link in the Firefox I can open notebook fine.顺便说一下,在 Firefox 中复制并粘贴链接后,我可以正常打开笔记本。 I just need to know how to ask notebook to open automatically in Firefox like it was working in Internet Explorer.我只需要知道如何让 notebook 在 Firefox 中自动打开,就像在 Internet Explorer 中一样。

c.NotebookApp.browser = u'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s' c.NotebookApp.browser = u'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'

make sure you remove the hash(#) before the c.Notebookapp, and your escape key确保删除 c.Notebookapp 之前的哈希(#)和转义键

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM