不同版本的python对ssl的版本有不同要求

import ssl失败,需要升级ssl

下载源码包

地址:https://www.openssl.org/source/

解压源码包

tar -zxvf openssl-1.0.0s.tar.gz

编译

cd openssl-1.0.0s

./config -fPIC

make depend

make install

验证

openssl version

正常重装python

 

相关文章:

  • 2021-08-30
  • 2021-12-12
  • 2022-12-23
  • 2021-04-28
  • 2021-04-19
  • 2022-01-11
  • 2022-12-23
  • 2022-03-08
猜你喜欢
  • 2022-12-23
  • 2021-04-26
  • 2021-04-23
  • 2021-09-14
  • 2021-08-28
  • 2022-12-23
  • 2021-05-27
相关资源
相似解决方案