我想将 python 包“pip”安装到我的服务器上。但是我在下载源代码时遇到了问题。下面列出了全部信息。
[map@host.com ~]$ easy_install pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [Errno 218603680]_ssl.c:554: error:0D07A0A0:asn1 encoding routines:ASN1_mbstring_copy:unknown format -- 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/: [Errno 218603680] _ssl.c:554: error:0D07A0A0:asn1 encoding routines:ASN1_mbstring_copy:unknown format -- 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')
我还尝试安装了一些其他的包,比如nose、distribute,也遇到了同样的错误。顺便说一句,我使用 SecureCRT 对服务器进行 ssh。这是关于 OpenSSL 的问题吗?如何成功安装 pip?