引用:module ‘lib‘ has no attribute ‘OpenSSL_add_all_algorithms‘_Wbig的博客-优快云博客
cryptography库与你现在的使用的环境不兼容导致的,可能是因为cryptography的版本太高,需要进行降级(先删除原有的cryptography版本)
pip uninstall cryptography
然后进行降级
pip install cryptography==38.0.4
本文介绍了解决Cryptography库与当前环境不兼容的问题,方法是先卸载高版本库,然后使用pip安装特定版本(如38.0.4),以确保兼容性。
引用:module ‘lib‘ has no attribute ‘OpenSSL_add_all_algorithms‘_Wbig的博客-优快云博客
cryptography库与你现在的使用的环境不兼容导致的,可能是因为cryptography的版本太高,需要进行降级(先删除原有的cryptography版本)
pip uninstall cryptography
然后进行降级
pip install cryptography==38.0.4
649
2570
1344