修复macOS 10.15 Catalina上的Python中止libcrypto dylib
python 崩溃信息
Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.
Application Specific Information:
/usr/lib/libcrypto.dylib
abort() called
Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.
解决方法
我发现这是因为asn1crypto库。解决方案是将库升级到版本>= 1.0.0。
先执行:
pip uninstall asn1crypto
再执行:
pip install asn1crypto