我试图在我的Mac上安装PIP包管理系统,但我得到了一个错误。在
当我写一个codsudo easy_install pip
时,它给出了以下错误:
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')
有人能帮我理解一下吗?在
最简单的解决方案是下载并安装最新版本的python3。只需从网站上抓取dmg https://www.python.org/downloads/release/python-370/验证它是否已安装。在
^{1}$Pip自动包含在这个版本中,所以更新它。注意python3.x使用pip3
^{pr2}$相关问题 更多 >
编程相关推荐