源码安装的pip不能使用怎么办?
来源:2-2 python的安装和配置 - linux

慕先生4446183
2021-01-15
你好老师,系统centos系统,按你的安装方式,目录/usr/local/bin/下有这个pip3的命令,但是使用它的话会报错:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”,)) - skipping
请问怎么解决?
写回答
1回答
-
bobby
2021-01-18
这是ssl错误 课程一开始提到过 系统依赖 你需要先安装好这些系统依赖然后重新安装一下python
00
相似问题