在配置文件找到c.NotebookApp.browser = ’ '去掉#号
添加
import webbrowser
webbrowser.register(“firefox”, None, webbrowser.GenericBrowser
(u"C:\Program Files\Mozilla Firefox\firefox.exe"))
c.NotebookApp.browser = ‘firefox’
打开失败原因
默认路径出现错误
看了半天发现更改默认路径时文件路径写错了。。。
PS:
更改默认路径方法
找到c.NotebookApp.notebook_dir =’ ’
添加
c.NotebookApp.notebook_dir = ‘E:\Jupyter’