社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
下载pyautogui时失败了,有以下报错
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=’pypi.python.org’, port=443): Read timed out. (read timeout=15)”,)’: /simple/scipy/
原因是国内线路不通,可以翻出去试试,或者使用国内镜像。
$ pip install --index https://pypi.mirrors.ustc.edu.cn/simple/ pyautogui
注:–index后面是国内镜像地址,也可以换成别的镜像,比如http://mirrors.sohu.com/python/
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!