MattsFleaMarket / python-for-android

Automatically exported from code.google.com/p/python-for-android
Apache License 2.0
0 stars 0 forks source link

import ssl error #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using PythonForAndroid_r4. 

When I importing the module ssl,I get the error message below:

Python 2.6.2 (r262:71600, Feb 14 2011, 10:32:30)     
[GCC 4.4.3] on linux-armv6l                          
Type "help", "copyright", "credits" or "license" for more information.          
                          >>> import ssl                                       
Traceback (most recent call last):                     
File "<stdin>", line 1, in <module>                  
File 
"/home/manuel/AptanaStudio3Workspace/python-for-android/python-build/output/usr/
lib/python2.6/ssl.py", line 60, in <module>                             
ImportError: No module named _ssl                    

Original issue reported on code.google.com by yangjuny...@gmail.com on 20 Feb 2011 at 6:25

GoogleCodeExporter commented 8 years ago
the same issue,  and with the python_r8.zip i got segmentation fault in my 
/system/lib/libssl.so

Original comment by max.c...@gmail.com on 27 Feb 2011 at 11:34

GoogleCodeExporter commented 8 years ago
I can't import ssl either, using r4, r5, or r6.  This is painful because I have 
a script that needs to use https.  Reverting to an older version of 
PythonForAndroid isn't an option because older versions of PythonForAndroid 
don't seem to work with Gingerbread.

Original comment by gtalv...@gmail.com on 13 Mar 2011 at 6:48

GoogleCodeExporter commented 8 years ago
Fixed in python_r15.zip and python_extras_r13.zip

Original comment by rjmatthews62 on 20 Mar 2011 at 1:39