当前位置: 代码迷 >> 综合 >> Caused by SSLError(“Can‘t connect to HTTPS URL because the SSL module is not available.“)解决方法
  详细解决方案

Caused by SSLError(“Can‘t connect to HTTPS URL because the SSL module is not available.“)解决方法

热度:79   发布时间:2023-12-19 07:38:04.0

在django项目中用到微信小程序登录的时候请求HTTPS地址出现的问题,原因是编译python3前没有安装好openssl,所以要安装新版openssl后重新编译一遍python3.7

yum install openssl

openssl要1.0.2以上版本才能解决

 

重新安装编译 python

 

  相关解决方案