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

降低版本适自己情况而定

相关推荐
awonw14 分钟前
[python][基础]Flask 技术栈
开发语言·python·flask
bright_colo36 分钟前
Python-初学openCV——图像预处理(四)——滤波器
python·opencv·计算机视觉
Nandeska1 小时前
一、Python环境、Jupyter与Pycharm
python·jupyter·pycharm
No0d1es2 小时前
CPA青少年编程能力等级测评试卷及答案 Python编程(三级)
python·青少年编程·cpa
惜.己2 小时前
pytest中使用ordering控制函数的执行顺序
开发语言·python·pytest
数据智能老司机2 小时前
使用 Python 进行并行与高性能编程——并行编程导论
python·性能优化·编程语言
精灵vector3 小时前
【Agentic】通过LangGrah实现RAG评分和重写
python
狗都不学爬虫_3 小时前
JS逆向 - (国外)SHEIN站 - 请求头(armorToken、Anti-in)
javascript·python·ajax·网络爬虫·wasm