conda 按照指定源下載python包
換成了國內的pip源就可以正常安裝了,我使用的是:pip install xlrd -i http://pypi.douban.com/simple --trusted-host pypi.douban.com,結果:Duang!Duang!Duang~成功
1)http://mirrors.aliyun.com/pypi/simple/ 阿里雲
2)https://pypi.mirrors.ustc.edu.cn/simple/ 中國科技大學
3) http://pypi.douban.com/simple/ 豆瓣
4) https://pypi.tuna.tsinghua.edu.cn/simple/ 清華大學
5) http://pypi.mirrors.ustc.edu.cn/simple/ 中國科學技術大學
pip install 包名 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com