注意: 在jupyter网页中输入的密码是 自己设定的密码,不是哈希码。。
设置密码
jupyter notebook --generate-config
from notebook.auth import passwd
passwd()
sha1:158c74966eda:9533217697d0c62f0db43414ec4e06d4072c1cecc2e97d
打开配置文件jupyter_notebook_config.py
,找到c.NotebookApp.password
=第三步的哈希密码,重启jupyter notebook
即可
jupyter notebook
查看密码
在config中查看