问题:
在使用pip命令的过程中经常会因为网络问题报各种错误,read time out、could not fetch URL等等
解决办法:
使用下面的命令的是:(其中的pywinauto是需要安装的包)
pip install pywinauto -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
其他镜像参考:
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/ 中国科学技术大学
参考链接: