how can i elect the browser used by jupyter notebook in linux?

21 views
Skip to first unread message

唐彬

unread,
Mar 15, 2018, 4:48:02 AM3/15/18
to Project Jupyter
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?

Thomas Kluyver

unread,
Mar 15, 2018, 11:36:11 AM3/15/18
to Project Jupyter
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.

--
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 jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/489390b6-f270-45b6-8f0a-17183799b418%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

唐彬

unread,
Mar 16, 2018, 5:39:42 AM3/16/18
to Project Jupyter
Thanks but it doesnt work


在 2018年3月15日星期四 UTC+8下午11:36:11,takowl写道:
Reply all
Reply to author
Forward
0 new messages