问题:
python使用pip下载第三方库时出现:
ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
解决:直接在提供这些源的网站上下载:
pip install -i https://pypi.douban.com/simple <需要安装的包>
国内源:
http://pypi.douban.com/ 豆瓣
http://pypi.hustunique.com/ 华中理工大学
http://pypi.sdutlinux.org/ 山东理工大学
http://pypi.mirrors.ustc.edu.cn/ 中国科学技术大学