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
安装与配置Jupyter Notebook

603

被折叠的 条评论
为什么被折叠?



