jupyter安装,修改登录密码,启动

1.安装jupyter:

pip install jupyter
(如果报错)
pip install jupyter notebook 

2.生成jupyter的配置文件

  

jupyter notebook --generate-config  

3.修改jupyter的配置文件

vim ~/.jupyter/jupyter_notebook_config.py

将293行 #c.NotebookApp.token = '<generated>'修改为c.NotebookApp.token = 'password',则密码就改为password

4。启动jupyter

如果以root身份启动需要加入--allow-root

jupyter notebook --ip=127.0.0.1 --port 8000 --allow-root




猜你喜欢

转载自blog.csdn.net/hotpotbo/article/details/79130899