Jupyter Notebook 访问密码重置

试想你访问 Jupyter Notebook ,突然忘记了访问密码,该怎么做。经实践,只需利用命令行重新设置下密码即可。

## step 1:终端输入
jupyter notebook --generate -config
## step 2:终端输入
jupyter notebook password    # 按提示,输入密码
## step 3:创建sh文件,文件全名为start-pythonNotebook.sh,文件内容如下:
jupyter notebook --no-browser --ip=0.0.0.0 --port=5002
## step 4:终端输入
chmod +x ./start-pythonNotebook.sh

reference:
Jupyter Notebook之web访问密码设定

posted @ 2019-07-05 16:30  不燥不怕  阅读(3619)  评论(1编辑  收藏  举报