how to open Jupyter notebook in chrome on windows

前端 未结 16 792
-上瘾入骨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:02

    Create and edit the jupyter notebook config file with the following steps:

    • Launch Anaconda Prompt
    • Type jupyter notebook --generate-config
    • Type notepad path_to_file/jupyter_notebook_config.py to open it (change path_to_file)
    • Modify #c.NotebookApp.browser = '' to c.NotebookApp.browser = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'
    • Save the file and close it

    Jupyter notebook will now use Chrome.

提交回复
热议问题