Original Reference: About jupyter notebook password
Original Bloggers: 01010101
First, the lower windows, open a command line, to regenerate a configuration file jupyter
-
jupyter notebook --generate-config
Second, the repair profiles
- Find the newly created file: Windows:
C:\Users\USERNAME\.jupyter\jupyter_notebook_config.py
- Search NotebookApp.allow_password_change, read: NotebookApp.allow_password_change = False, uncomment
Third, the back windows command line, run jupyter notebook password
-
C: \ Windows \ System32> jupyter Notebook password the Enter password: # Type the password is not displayed in the Verify password: # again to retype the password [NotebookPasswordApp] Wrote hashed password to C : \ Users \ user \ .jupyter \ jupyter_notebook_config.json # password SHA1 to generate a string (i.e. a NotebookPasswordApp), is written to the file
Fourth, find jupyter_notebook_config.py profile "c.NotebookApp.password", insert the password sha1 just generated, the effect is as follows: remove comments
-
c.NotebookApp.password = 'NotebookPasswordApp'
Fifth, restart Jupyter