Python 官方文档:入门教程 => 点击学习
module ‘lib’ has no attribute 'OpenSSL_add_all_alGorithms’出现这个问题是因为你说安装的 cryptography库与你现在的使用的环境不兼容导
module ‘lib’ has no attribute 'OpenSSL_add_all_alGorithms’出现这个问题是因为你说安装的 cryptography库与你现在的使用的环境不兼容导致的,可能是因为cryptography的版本太高,需要进行降级
pip install cryptography==38.0.4
如果无法安装看看代理是否是开着的,或者是pip版本的问题。如果是pip版本的问题就需要升级一下
python -m pip install -U --force-reinstall pip
执行完之后在执行上边的代码试试,多试几次就好了。如果实在是装不上去,那就先把之前cryptography库卸载了之后,再装
pip uninstall cryptography
来源地址:https://blog.csdn.net/m0_67425175/article/details/129124597
--结束END--
本文标题: module ‘lib‘ has no attribute ‘OpenSSL_add_all_algorithms‘
本文链接: https://www.lsjlt.com/news/452351.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0