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