【问题标题】:Not able to install pip无法安装 pip
【发布时间】:2020-05-01 11:53:32
【问题描述】:
$ sudo easy_install pip

遇到错误(django 和 python 的新手)

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')

【问题讨论】:

标签: python pip


【解决方案1】:

尝试使用系统的包管理器。

apt-get install python3-pip

yum install python3-pip

你也可以下载 https://bootstrap.pypa.io/get-pip.py 然后做

python3 get-pip.py

【讨论】: