how to open Jupyter notebook in chrome on windows

前端 未结 16 847
-上瘾入骨i
-上瘾入骨i 2020-12-07 20:52

On my Windows PC, i have anaconda installed and when I open a jupyter notebook, it opens up in internet explorer, but I would like to use Chrome instead. Does anyone know ho

16条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 21:04

    If you haven't already, create a notebook config file by running

    jupyter notebook --generate-config

    Then, edit the file jupyter_notebook_config.py found in the .jupyter folder of your home directory.

    You need to change the line # c.NotebookApp.browser = '' to c.NotebookApp.browser = 'C:/path/to/your/chrome.exe %s'

    On windows 10, Chrome should be located C:/Program Files (x86)/Google/Chrome/Application/chrome.exe but check on your system to be sure.

提交回复
热议问题