-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+ #1565
Comments
+1 |
what version of python are you running? which os? for example, the new apple silicon computers ship with a python ssl library that is compiled with libreSSL instead of openSSL, so you either need to build from source or install a version of python that is already compiled with the correct openSSL. you'll see which version of openSSL is a dependency on homebrew, for example, with: $ brew deps --tree python
python@3.11
├── mpdecimal
├── openssl@1.1
│ └── ca-certificates
├── sqlite
│ └── readline
└── xz 👍 |
This comment was marked as duplicate.
This comment was marked as duplicate.
If you are using Certbot you can set specific version of urllib like this with pip: |
@martinamunoz I am not using certbot with sudo , can you please suggest the other alternate way or version of urllib3 which working fine with python 3.9 |
I am using this liberaly in AWS Glue. |
Where did you specify the urllib3 version in glue? |
@Akanksh29 you can use this command to install a specific version of urllib3 |
@huyenuet Which version of python were you using? |
If your requirements allow you to obtain wheel files from PyPI, you can install and use urllib3 v1.26.15 by specifying the following job parameters in glue. job parameter in Glue
|
Hi, I would like to know how you were able to specify this - I don't have the "--additional-python-modules" key option in the Glue Job Parameter Options |
Nevermind, I've resolved it. In my case I was using a version of requests library that was too recent. Downgrading to version 2.29 fixed the issue. |
OP determined the error. The error was not with our library. Closing. |
this doesn't work for me on Amazon Linux 2 using python3.8 and python3.9 installed with pyenv |
Seeing "ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2k-fips 26 Jan 2017. See: urllib3/urllib3#2168" when I import this library. it pointed me to this issue, can someone help me with what's the fix for this?
The text was updated successfully, but these errors were encountered: