You need to set it to one of the names recognised by the webbrowser module: https://docs.python.org/3/library/webbrowser.html
You can also use the BROWSER environment variable to set the default. On 15 March 2018 at 08:48, 唐彬 <[email protected]> wrote: > I have created the config file and add the command > > > c.NotebookApp.browser = '/usr/bin/google-chrome-stable' > > and removed the '#' in the beginning of this line. > But when i launched notebook, what i got was > > No web browser found: could not locate runnable browser. > > How can i fix this problem? > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/489390b6-f270-45b6-8f0a-17183799b418%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/489390b6-f270-45b6-8f0a-17183799b418%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qjhvzhCn%2Bh454_SS-hKfU%2BFQN7Ut%2B4qK6fFt-JitLu7xw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
