How to disable password request for a Jupyter notebook session?

前端 未结 9 1344
灰色年华
灰色年华 2020-12-02 10:24

I have been launching Jupyter Notebook for years using the following command:

jupyter-notebook --port=7000 --no-browser --no-mathjax

When I t

9条回答
  •  醉梦人生
    2020-12-02 11:16

    You can first create a jupyter config file with:

    cd ~/.jupyter

    jupyter notebook --generate-config Then set the c.NotebookApp.token parameter to an empty string in the configuration file created

    c.NotebookApp.token = ''

    As mentioned in comment, Setting to an empty string disables authentication altogether, which is NOT RECOMMENDED.

提交回复
热议问题