无法在Windows 10上安装pdfminer.six

3
在我的命令提示符窗口中,我输入了:
pip install pdfminer.six

并且它给我返回了这些错误。

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\Eric Kim>pip install pdfminer.six
Collecting pdfminer.six
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x04435730>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/pdfminer-six/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x04435870>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/pdfminer-six/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x04435410>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/pdfminer-six/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x044355D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/pdfminer-six/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x04435150>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/pdfminer-six/
  Could not find a version that satisfies the requirement pdfminer.six (from versions: )
No matching distribution found for pdfminer.six

我在Windows 10上使用Python 3.6。我该怎么做?有没有不使用pip安装此软件包的方法?我想使用此链接:https://pypi.python.org/pypi/pdfminer.six/20170720
我对编程还不是很了解,所以不太清楚。
1个回答

2
这是一个代理问题,因为重试错误消息告诉你。你的pip不能通过代理连接到互联网。
尝试使用pip --proxy url:port pdfminer.six命令,并将url:port替换为你的代理地址,例如proxy.example.com:8080
如果这样不行,请尝试使用另一个没有代理的互联网连接来安装pip包,或者查看这个帖子,里面有更多关于pip和代理的答案。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接