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访问密码设定


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM