I am new to Jupyter Notebooks (JN). I have installed JN using Anaconda. Whenever I launch it, it opens in MS Edge. However, I want it to use Chrome as the default browser. I followed this link to do so: ;ab_channel=technologyCult . Essentially I created jupyter_notebook_config.py by running the command jupyter notebook --generate-config. Then I modified the config file by adding this line, which points to the location of the Chrome.exe. c.ServerApp.browser = '"C:/Program Files/Google/Chrome/Application/chrome.exe" %s' When I launch JN, it still opens in Edge.
I am new to Jupyter Notebooks (JN). I have installed JN using Anaconda. Whenever I launch it, it opens in MS Edge. However, I want it to use Chrome as the default browser. I followed this link to do so: https://www.youtube/watch?v=6Ed9KD_fR6U&ab_channel=technologyCult . Essentially I created jupyter_notebook_config.py by running the command jupyter notebook --generate-config. Then I modified the config file by adding this line, which points to the location of the Chrome.exe. c.ServerApp.browser = '"C:/Program Files/Google/Chrome/Application/chrome.exe" %s' When I launch JN, it still opens in Edge.
Share Improve this question asked Mar 20 at 13:42 user466663user466663 8574 gold badges20 silver badges45 bronze badges1 Answer
Reset to default 0Try to modify the path from:
c.ServerApp.browser = '"C:/Program Files/Google/Chrome/Application/chrome.exe" %s'
to : c.ServerApp.browser = r'"C:\Program Files\Google\Chrome\Application\chrome.exe" %s'
or c.ServerApp.browser = '"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" %s'
somtimes there are problems in / and \ also try to restart your jupyter notebook to see the result.