本文介绍: 这个错误的意思是当urllib3想要建立一个https的connection的时候,失败了,原因是获取IP地址失败。当机器没有网络(本机没有配置IP)的时候会出现这个错误。导致dns查找要访问的host的IP地址失败。
C:Usersmzhan017>pip install oslo_config
Defaulting to user installation because normal site–packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.
urllib3.connection.HTTPSConnection object at 0x0000015E7638EA30>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed’)’: /simple/oslo–config/
这个错误的意思是当urllib3想要建立一个https的connection的时候,失败了,原因是获取IP地址失败。当机器没有网络(本机没有配置IP)的时候会出现这个错误。导致dns查找要访问的host的IP地址失败。
https://learn.microsoft.com/en-us/windows/win32/api/ws2tcpip/nf–ws2tcpip–getaddrinfo
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。