AttributeError: module ‘lib‘ has no attribute ‘OpenSSL_add_all_algorithms‘

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

分析

在使用certbot时,报了这个错误,该问题是没有安装openssl包

解决

pip3 install pyOpenSSL

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

pip install cryptography==38.0.1

降低版本适自己情况而定

相关推荐
you鬰6 分钟前
datawhale--llm-algo-leetcode5️⃣
python·datawhale
λqaq726 分钟前
MySQL 数据库基础(2)约束、用户权限、远程连接、外键与 TCP/UDP 理解
linux·数据库·python·tcp/ip·mysql
人工干智能29 分钟前
科普:pandas 时间偏移别名:ts.resample(“5Min“).sum()
python·pandas
开源量化GO39 分钟前
最新AI辅助量化表达:先理清规则,再按需求选工具
人工智能·python
Zane19941 小时前
为什么 del 一个对象有时立刻消失,有时却纹丝不动?一文讲透引用计数与垃圾回收
后端·python
yichudu1 小时前
Python 装饰器 decorator
开发语言·python
一晌小贪欢1 小时前
Python办公14:批量解压文件夹内的所有 ZIP/RAR 并自动分类
开发语言·python·excel·数据可视化·python办公
Python 实战手记1 小时前
企业微信主体变更公证书办理全解析:适用场景、材料规范、踩坑点与Python信息校验脚本
开发语言·python·企业微信
郝学胜_神的一滴1 小时前
Effective Python 条款 2:遵循 PEP 8 编码风格,写出高质量 Python 代码
python·算法
郝学胜-神的一滴1 小时前
Effective Python 条款 1:确认你正在使用的 Python 版本
开发语言·数据结构·python·程序人生·算法