"To access the notebook, open this file in a browser:"

2,023 views
Skip to first unread message

rainexpected

unread,
Feb 5, 2019, 1:40:33 PM2/5/19
to Project Jupyter
Hi,

Jupyter Notebook recently started displaying this message and then opening the html file in a text editor.  Not sure what I changed but how do I get rid of this behavior?

I am running Anaconda Python on a Debian Stretch system.

Thanks,
Ted

Roland Weber

unread,
Feb 6, 2019, 1:27:51 AM2/6/19
to Project Jupyter
Hello Ted,

you probably updated Jupyter Notebook. The notebook is no longer opened directly with a URL, but instead through a local .html file that redirects to the URL. That way, the URL with the token doesn't show in the process information anymore.

Try setting the NotebookApp.browser configuration property, or the BROWSER environment variable:

"Specify what command to use to invoke a web browser when opening the notebook. If not specified, the default browser will be determined by the webbrowser standard library module, which allows setting of the BROWSER environment variable to override it."

Hope that helps,
  Roland

rainexpected

unread,
Feb 6, 2019, 7:38:06 AM2/6/19
to Project Jupyter
Hi Roland,

Many thanks!  I set it to x-www-browser and all is good.  I guess I haven't been keeping up with jupyter development!

Ted
Reply all
Reply to author
Forward
0 new messages