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

[Question] Pip SSL ? #2649

Closed
jhay06 opened this issue Aug 1, 2022 · 3 comments
Closed

[Question] Pip SSL ? #2649

jhay06 opened this issue Aug 1, 2022 · 3 comments

Comments

@jhay06
Copy link

jhay06 commented Aug 1, 2022

Any way to skip SSL verification of pip from python for android ? pip from python4android packages has issue on newer macos monterey , even openssl exist both 1.1 and version 3.0.2

@misl6
Copy link
Member

misl6 commented Aug 2, 2022

Hi @jhay06,

Skipping SSL verification is something that should only be done as a last resort and is not supported directly via python-for-android.

Instead, we can check why python-for-android is failing to find openssl on your setup.

Can you post a full log?

@jhay06
Copy link
Author

jhay06 commented Aug 7, 2022

actually im getting the same error on buildozer python-for-android and kivy-ios toolchain.py

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/certifi/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/certifi/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL modu... (1381 more, please see e.stdout)

i already have both openssl1.1 and openssl3 and also i added it on PATH environment , but im still getting the same error ,

wil send the logs im getting with buildozer python4android

@jhay06
Copy link
Author

jhay06 commented Aug 7, 2022

okay got this working by cleaning homebrew packages and reinstall everything in homebrew arch x86_64 ,

@jhay06 jhay06 closed this as completed Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants