首页 > 其他分享 >问题:AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

问题:AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

时间:2023-02-05 10:11:40浏览次数:38  
标签:lib no attribute OpenSSL module add

分析

在使用支付宝沙箱时,报了这个错误,该问题是没有安装openssl包

解决

pip3 install pyOpenSSL

安装后再次运行如果还是报错,请降低加密库

pip install cryptography==38.0.1

降低版本适自己情况而定

标签:lib,no,attribute,OpenSSL,module,add
From: https://www.cnblogs.com/hkwJsxl/p/17092911.html

相关文章