当前位置:   article > 正文

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple WARNING: Retrying (Retry(total=4, conne

looking in indexes

错误描述

在用anaconda prompt安装python第三方包时出现错误
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.tuna.tsinghua.edu.cn’, port=443): Read timed out. (read timeout=15)”)’: /simple/pyqt5/

用尽一切办法也没有解决,最终寻找各种资料得以解决,利用以下语句安装成功

pip install PyQt5 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
  • 1

其中pip install PyQt5 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com 中加粗部分为需要安装的包

参考博客 https://blog.csdn.net/lsf_007/article/details/87931823

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/282523
推荐阅读
相关标签
  

闽ICP备14008679号