在我的M中安装pip时出错

2024-05-06 08:37:13 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在我的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')

有人能帮我理解一下吗?在


Tags: piphttpsorgpypiforondownloadpackages
1条回答
网友
1楼 · 发布于 2024-05-06 08:37:13

最简单的解决方案是下载并安装最新版本的python3。只需从网站上抓取dmg https://www.python.org/downloads/release/python-370/验证它是否已安装。在

^{1}$

Pip自动包含在这个版本中,所以更新它。注意python3.x使用pip3

^{pr2}$

相关问题 更多 >