pip安装插件失败,拒绝连接

2022-11-22 20:58:07 浏览数 (1)

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff8fba5f080>, ‘Connection to mirrors.aliyn.com timed out. (connect timeout=15)')': /pypi/simple/python-jenkins/

代码语言:shell复制
$ pip3 install python-jenkins

安装python-jenkins报错如下

解决办法:

代码语言:shell复制
$ pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple python-jenkins

如上已经安装好了

0 人点赞