首先打开finder
按cmd+shift+G
输入 /Users/你的用户名/.jupyter/ 点击前往
然后可以看到隐藏文件.jupyter。进入jupyter_notebook_config.py
找到#c.NotebookApp.browser = u”
替换为
c.NotebookApp.browser = u’open -a /Applications/Safari.app %s’
OK
————————————————
感谢参考链接:https://blog.csdn.net/liu13364876993/article/details/78969386