CentOS 7.9 Python3.10.9配置ssl
Centos7.9编译安装Python3.10.9后,缺少ssl模块:
# 缺少ssl模块
$ python
Python 3.10.9 (main, Mar 26 2024, 15:18:07) [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module