python安装_ssl模块missing

1.在已经添加lib64到lib软连接情况下,仍然出现_ssl和_hashlib模块missing

 

2.添加环境变量

export CFLAGS="-I/usr/local/openssl-3.0.8/include" export LDFLAGS="-L/usr/local/openssl-3.0.8/lib"

重新编译:

./configure --prefix=/usr/local/python-3.8.11 --with-zlib=/usr/include/ --with-openssl=/usr/local/openssl-3.0.8

 

 

继续解决_tkinter模块missing问题。。。。。

 

posted @ 2024-08-28 11:10  爱吃荔枝的小涵子  阅读(105)  评论(0)    收藏  举报