jupyter

Ling Yu
juypter 使用
基础配置
1.生成配置文件:
jupyter notebook --generate-config
配置文件: ~/.jupyter/jupyter_notebook_config.py
2.生成密码
from notebook.auth import passwd
passwd(algorithm='sha1')
设置密码 c.NotebookApp.password = ‘’ 设置端口 c.NotebookApp.port = 8088 设置 IP c.NotebookApp.ip = ‘192.168.1.100’ 设置根目录 c.NotebookApp.notebook_dir = 'D:\notebook'
启动网页版
jupyter notebook
内核管理
jupyter kernelspec list # 查看内核
jupyter kernelspec remove <kernel> # 移除内核