我在Mac OS上,我的默认浏览器是Firefox.
在终端,我跑了jupyter notebook --generate-config
.然后,在文本编辑器中,我打开〜/ .jupyter/jupyter_notebook_config.py
我换c.NotebookApp.browser = u''
了c.NotebookApp.browser = u'/Applications/Safari.app/Contents/MacOS/Safari %s'
但是,当我运行时jupyter notebook
,我得到以下输出:
```
[I 15:14:23.717 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found
[I 15:14:24.586 NotebookApp] [nb_anacondacloud] enabled
[I 15:14:24.589 NotebookApp] [nb_conda] enabled
[I 15:14:24.626 NotebookApp] ? nbpresent HTML export ENABLED
[W 15:14:24.626 NotebookApp] ? nbpresent PDF export DISABLED: No module named nbbrowserpdf.exporters.pdf
[I 15:14:24.632 NotebookApp] Serving notebooks from local directory: /Users/ironaut/Tutorials/DAND/Jupyter
[I 15:14:24.632 NotebookApp] 0 active kernels
[I 15:14:24.632 NotebookApp] The Jupyter …
Run Code Online (Sandbox Code Playgroud)