jupyter notebook的自用配置
安装
安装anaconda
运行
设置环境变量后,命令行运行
jupyter notebook
配置
安装jupyter的插件库
conda install -c conda-forge jupyter_contrib_nbextensions
设置jupyter的运行终端
先在命令行查看conda环境
conda info --envs
然后激活环境
source activate {envs}
在环境中运行jupyter
jupyter notebook
所用python终端就是该环境下的终端了。
选择喜欢的插件
比较重要的是
Hinterland,代码自动补全
Autopep8,代码一键美化
jupyter主题设置
pip install jupyterthemes
jt -l
查看可用主题列表
jt -t <theme name>
选择安装的主题
jt -r
跳转回原来的主题