1 Answer
- Newest
- Most votes
- Most comments
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'.
Relevant content
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 20 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago