Launch IPython notebook with selected browser

I had the same problem on windows and got it work this way:

  • Create a config file with command
    ipython profile create default

  • Edit file, search for line


and replace it with

import webbrowser
webbrowser.register('firefox', None, webbrowser.GenericBrowser('C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe'))

then it works for me.

Hope it will help you.


Leave a Comment