Skip to content
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+ #186

Open
pushkarsingh32 opened this issue May 9, 2023 · 2 comments
Open

ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+ #186

pushkarsingh32 opened this issue May 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pushkarsingh32
Copy link

Tried the simple implementation but gives error

from waybackpy import WaybackMachineSaveAPI

url = "google.com/"

user_agent = "Mozilla/5.0 (Windows NT 5.1; rv:40.0) Gecko/20100101 Firefox/40.0"
save_api = WaybackMachineSaveAPI(url, user_agent)

save_api.save()

save_api.timestamp()

This is the error

ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: urllib3/urllib3#2168

@pushkarsingh32 pushkarsingh32 added the bug Something isn't working label May 9, 2023
@mjwat
Copy link

mjwat commented May 9, 2023

I guess you should check version of urllib3 lib in your project. I just download 1.2.6 instead of 2.0.2 and it works for me

@newbie405
Copy link

I searched up urllib3 v.1.2.6 and there seems to only be 1.2 - 1.2.2. I'm a newbie so please forgive me if I'm wrong. I'm doing a python tutorial that requires urllib and requests and it seems that I have also ran into the same problem, I tried to upgrade openssl, I tried downgrading urllib and I also tried to downgrade requests but none of them seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants