简体   繁体   中英

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. I have windows 10. I changed the default browser to Firefox by following steps in this website :

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:

Copy/paste this URL into your browser when you connect for the first time,

Can anyone tell me how to open Jupyter Notebook automatically in Firefox since above were the steps recommended by anaconda website. By the way after copying and pasting the link in the Firefox I can open notebook fine. I just need to know how to ask notebook to open automatically in Firefox like it was working in Internet Explorer.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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