报错:
ImportError: /root/.local/share/letsencrypt/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so: undefined symbol: OPENSSL_sk_num
解决:
- yum remove openssl-devel
- cd ~/.local/share/letsencrypt/bin/
- ./pip uninstall cryptography pyopenssl -y
- rm -rf ~/.cache/
- ./pip install cryptography pyopenssl
- ldd ~/.local/share/letsencrypt/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so
时间: 2024-10-25 06:53:50