python接口自动化部署在linux系统上,报错:Caused by SSLError("Can’t connect to HTTPS URL because the SSL module is not available)

首先安装如下模块

yum install -y openssl
yum install -y openssl-devel

注意:安装完成以后还要重新编译一下python3的源文件,且在编译之前,一定要configure一下

./configure --prefix=/opt/app/python3
make && make install

posted @ 2021-07-12 17:00  狂飙的老蜗牛  阅读(980)  评论(0编辑  收藏  举报