https://blog.csdn.net/weixin_43269020/article/details/88057306
https://blog.csdn.net/fan15945028042/article/details/98494702
(expert) [huangqiao@gpu01 ~]$ jupyter-notebook --generate-config
Writing default config to: /home/huangqiao/.jupyter/jupyter_notebook_config.py
(expert) [huangqiao@gpu01 ~]$ ipython
Python 3.6.0 | packaged by conda-forge | (default, Feb 9 2017, 14:36:55)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.10.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from notebook.auth import passwd
In [2]: passwd()
Enter password:
Verify password:
Out[2]: 'sha1:8e956553d6e1:559c967bb58f870ab207fde6682333e15bb430cf'