jupyter notebook更换主题
jupyter notebook的默认主题为白色,长时间观看可能会使眼睛疲劳,我们可以更换自己看起来舒服的主题
1.首先下载安装主题
pip install --upgrade jupyterthemes
如果因为网速问题下载失败可以先尝试使用国内的镜像资源,假如我们要下载pyspider模块,就可以使用以下指令
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyspider
这样就可以从清华的镜像资源中下载,目前使用的国内资源:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/</