无法在Windows 10上安装pdfminer.six [英] Can't install pdfminer.six on Windows 10

查看:178
本文介绍了无法在Windows 10上安装pdfminer.six的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的cmd窗口中键入

On my cmd window, I typed

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

I use Python 3.6 on Windows 10. What should I do? Is there any way that I can install this package without using pip? I want to use this link: https://pypi.python.org/pypi/pdfminer.six/20170720

我对编程还很陌生,所以我并不了解.

I'm pretty new to programming, so I don't know much.

推荐答案

这是一个代理问题,正如retry-error-message告诉您的那样.您的点子无法通过代理连接到互联网.

This is a proxy problem, as the retry-error-message tells you. Your pip does not connect to the internet through the proxy.

尝试pip --proxy url:port pdfminer.sixurl:port一起代理您的代理服务器,例如proxy.example.com:8080.

Try pip --proxy url:port pdfminer.six with url:port beeing your proxy, e.g. proxy.example.com:8080.

如果这不起作用,请尝试使用没有代理的其他Internet连接通过pip安装软件包,或查看以下

If this is not working, try using another internet connection without a proxy to install packages via pip, or have a look at this thread, which has more answers regarding pip and proxy.

这篇关于无法在Windows 10上安装pdfminer.six的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆