
cmd命令行:jupyter notebook --generate-config
Overwrite C:\Users\罗芙蓉\.jupyter\jupyter_notebook_config.py with default config? [y/N]y
Ctrl+f:搜索 c.NotebookApp.allow_origin =
在这一行下面加上
- import webbrowser
- webbrowser.register("chrom",None,webbrowser.GenericBrowser(u"C:\Program Files\Google\Chrome\Application\chrome.exe"))
- c.NotebookApp.browser = 'chrom'
评价