生成默认配置文件,C:\Users\SKY.jupyter\jupyter_notebook_config.py
jupyter notebook --generate-config
生成密码sha1
In [1]: from notebook.auth import passwd
In [2]: passwd()
Enter password:
Verify password:
Out[2]: 'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed'
填写进config.py
c.NotebookApp.password = u'sha1:66e6f...'
In [ ]: