1.打开终端,输入
jupyter notebook --generate-config
找到“.py”文件所在路径
2.打开访达,command+shift+G,搜索:
/Users/jingweiyuan/.jupyter/jupyter_notebook_config.py
3.打开该文件,添加以下内容,即可修改默认浏览器:
c.NotebookApp.browser = u'open -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome %s'