1 個回答
- 最新
- 最多得票
- 最多評論
1
Even though you've updated OpenSSL on your system, Python is still using the old version that it was originally compiled with
- Reinstall Python
- Create a new Python virtual environment
- Check Python's SSL version: You can check the SSL version Python is using with this command: python -c "import ssl; print(ssl.OPENSSL_VERSION)".
- Update urllib3: It's also worth noting that urllib3 recently made a change to only support OpenSSL 1.1.1 or later. If you can't update Python or OpenSSL, you might be able to resolve the issue by downgrading urllib3 to an older version that supports OpenSSL 1.0.2. This can be done using pip: pip install 'urllib3<2.0'.
相關內容
- AWS 官方已更新 2 年前