ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
CentOS7 pyenv安装Python 3.10.13 报错
yum install -y openssl-devel openssl11-devel openssl11-lib
CPPFLAGS="-I/usr/include/openssl11" LDFLAGS="-L/usr/lib64/openssl11 -lssl -lcrypto" pyenv install -v 3.10.13
[root@Chatglm2-6B ~]# pyenv versions
* system (set by /root/.pyenv/version)
3.10.13