1、改路径
jupyter notebook --generate-config
查看默认目录
#c.NotebookApp.notebook_dir = ”’
2、 安装Pip
- 下载Pip (baidu)
- 在CMD中打开文件目录 然后
python setup.py install
安装
3、安装主题
用Anaconda Prompt
pip install jupyterthemes
upgrade to latest version
pip install --upgrade jupyterthemes
主题选择
查看主题
jt -l
更换主题和字体 打开工具栏
jt -f inconsolata -t grade3 -T -N
例如:
jt -t chesterish -f roboto -tfs 10 -nfs 13 -T -N -m 200 -cursc g -cursw 5
恢复默认
jt -r
4、Jupyter安装各种plugins的扩展,可以为Jupyter Notebook提供目录
conda install -c conda-forge jupyter_contrib_nbextensions
code prittify 需要pip install yapf
5、更新pip
easy_install.exe pip==9.0.3