How to disable password request for a Jupyter notebook session?

前端 未结 9 1358
灰色年华
灰色年华 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条回答
  •  Happy的楠姐
    2020-12-02 11:14

    I solved the token authentication by replacing the password inside jupyter_notebook_config.json by running jupyter notebook password on the command line:

    (base) C:\WINDOWS\system32>jupyter notebook list
    http://localhost:8888/ :: C:\Users\320089053
    http://localhost:8889/ :: C:\Users\320089053
    
    (base) C:\WINDOWS\system32>jupyter notebook list
    Enter password:
    Verify password:
    [NotebookPasswordApp] Wrote hashed password to C:\Users\320089053\.jupyter\jupyter_notebook_config.json
    

提交回复
热议问题