安装PIP软件包时出现SSL错误(现在系统混乱了)

时间:2018-10-04 17:52:32

标签: python pip

我正在尝试安装pylint,但出现此错误

 Could not fetch URL https://pypi.python.org/simple/pylint/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
  Could not find a version that satisfies the requirement pylint (from versions: )
No matching distribution found for pylint

在stackoverlfow post之一中,建议卸载pip并重新安装。我这样做了,现在我无法重新安装pip。我收到以下错误消息

$ sudo easy_install pip                                                                                                                                                         ⏎
Password:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')

不确定现在该怎么办。

0 个答案:

没有答案