我正在尝试使用pip安装名为gmplot的库。在我的Mac上这很顺利,但在我的Windows 10机器上却不行。我遇到了以下错误:
C:\Users\Alex>pip install gmplot
Collecting gmplot
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000003BD70B8>: Failed to establish a new connection: [Errno 11003] getaddrinfo failed',)': /simple/gmplot/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000003BD7A58>: Failed to establish a new connection: [Errno 11003] getaddrinfo failed',)': /simple/gmplot/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000003BD7DA0>: Failed to establish a new connection: [Errno 11003] getaddrinfo failed',)': /simple/gmplot/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000003BD75C0>: Failed to establish a new connection: [Errno 11003] getaddrinfo failed',)': /simple/gmplot/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000003BD7D30>: Failed to establish a new connection: [Errno 11003] getaddrinfo failed',)': /simple/gmplot/
Could not find a version that satisfies the requirement gmplot (from versions: )
No matching distribution found for gmplot
其他stackoverflow线程提到在pip命令中添加代理详细信息,但我不使用代理。我也将我的DNS更改为Google的DNS,但这并没有起作用。
(Python 2.7)