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
posted @ 2023-10-18 14:23  LeoShi2020  阅读(148)  评论(0编辑  收藏  举报