Question:
ImportError: dlopen failed: "/data/python/lib/python2.7/_io.so" has bad ELF magic
Background: I am working on some built-in apros that support the python interpreter. I have to use this apk to run some test cases that abd are placed in / sdcards / scripts / XXXX (in the same place where the python files / packages are). Now, when you run test cases, the io module is imported, which calls the _io.so module. This _io.so module is not in python, which is the default apk. So I thought that I would find the _io.so file on my mac and do adb push in / data / python / lib / python 2.7 / lib-dynload where all the other .so files are located. I thought that clicking the _io.so file at this location would solve the problem, but it is not. Can someone give me an idea of ββwhat is happening and what is the main reason for this problem to be solved.
root@condor _umts:/data/python/lib/python2.7/lib-dynload
Truncated for short ENV:
Python 2.7.3 (default, Apr 15 2014, 13:44:15) [GCC 4.6 20120106 (prerelease)] on linux-armv7l
source share