配置-jupyter notebook快速配置
安装必要的插件
pip3 install yapf
pip install autopep8 --user
pip3 install jedi==0.17.2
生成密码
from notebook.auth import passwd
passwd()
xxx12345+
'argon2:$argon2id$v=19$m=10240,t=10,p=8$U4zUU7WDdXK1GAiqZHiBKw$/uIJNKuzQbJx6kxZLJD53A'
生成配置文件
jupyter notebook --generate-config
c.NotebookApp.password
配置目录和密码
vim ~/.jupyter/jupyter_notebook_config.py
126 c.NotebookApp.notebook_dir
c.NotebookApp.browser
安装扩展
pip3 install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip3 install --user jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
|