pip报“Cannot connect to proxy”与“Failed to establish a new connection: [Errno 113] No route to host"案例
在一台新的Linux(CentOS 7.7)服务器上使用pip安装python包时遇到下面错误和告警,如下所示: # pip install pymssql WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError(' Cannot connect to proxy. ', NewConnectionError(' <pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f866f3860>: Failed to establish a new connection: [Errno 113] No route to host ',))' : /simple/pymssql/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError(' Cannot connect to proxy. ',