Changing browser for IPython Notebook from system default

后端 未结 9 1069
南笙
南笙 2021-02-05 09:59

I would like to keep firefox as my system default browser on my Mac, but launch IPython Notebook in Chrome[1].

This answer led me to my ipython_notebook

9条回答
  •  别跟我提以往
    2021-02-05 10:50

    For people who want to make firefox their default for ipython notebooks (where it is not necessarily the system default), adding the following line to ipython_notebook_config.py should be sufficient:

    c.NotebookApp.browser = 'Firefox'

    For me, this was better than linking to the application file directly because it avoids the error: A copy of Firefox is already open. Only one copy of Firefox can be open at a time.

提交回复
热议问题