热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

python无法在Windows10上安装pdfminer.six

在我的cmd窗口中,键入pipinstallpdfminer.six这给了我这些错误.Micros

在我的cmd窗口中,键入

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(': 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(': 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(': 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(': 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(': 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

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

解决方法:

正如重试错误消息告诉您的那样,这是一个代理问题.您的点子无法通过代理连接到互联网.

尝试将pip –proxy url:port pdfminer.six与url:port用作代理,例如proxy.example.com:8080.

如果这不起作用,请尝试使用没有代理的其他Internet连接通过pip安装软件包,或查看此thread,其中提供了有关pip和代理的更多答案.


推荐阅读
author-avatar
lailai
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有