Enabling SSL for python3.5 using crystax
See original GitHub issueHi
I have just spend a full day solving a problem with accessing HTTPS sites on android. I finally figured out the problem:
Almost all http libraries in python relies on the ssl.py module in the standard library. This module is uses a C-extension _ssl.so
that must be “baked in” with the cpython interpreter at compilation.
The crystax android ndk however does not do this by default however, and so reaching any https site is not possible. For the novice programmer it is, in no way obvious why ssl.py cannot be imported, so I would propose that somewhere in the documentation, it is described how to recompile the crystax python interpreter with ssl support from the crystax-ndk.
I would gladly write this, but where would it be appropriate to put it in the docs?
Regards Emil Lynge
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (10 by maintainers)
Top GitHub Comments
Yep, we now support python3.7 using the normal google NDK.
Hello, is there now a working solution to this?