首次创建,可以运行
jupyter server --generate-config
来初始化jupyter
1、运行
jupyter notebook password
生成密码(存放在Jupyter_server_config.json文件中)
2、 打卡Jupyter_server_config.json文件,复制里面的IdentityProvider.hashed_password
3、将复制的密码分别粘贴到
jupyter_lab_config.py
jupyter_notebook_config.py
jupyter_server_config.py三个配置文件中,这样是为了确保配置生效
4、重启jupyter