jupyter-notebook使用配置
使用pip进行安装
1 | pip install jupyter |
生成配置文件
1 | jupyter-notebook --generate-config |
生成密码
1 | jupyter-notebook password # 输入密码后会生成到一个json文件,等下复制到~/.jupyter/jupyter_notebook_config.py |
配置~/.jupyter/jupyter_notebook_config.py
1 |
|
配置python虚拟环境到jupyter kernel
1 | 查看jupyter中已有的kernel(即python虚拟环境) |