Executing python script in android terminal emulator

24,020

OK it is solved. I followed these steps (http://code.google.com/p/python-for-android/wiki/RunPythonFromShell) but first I had to put the file standalone_python.sh in /data/ because in sdcard I had no permission to execute. And finally using 'su' I made it to run my script as root.

Share:
24,020
user2796429
Author by

user2796429

Updated on September 21, 2020

Comments

  • user2796429
    user2796429 over 3 years

    I installed python 2.7 in my Android device and I tried executing a python script by typing the command in terminal emulator. The problem is that although I use the full path for python the following error appears:

    link_image[1997]: failed to link ./python CANNOT LINK EXECUTABLE.

    I tried to add environment variables in ./~bashrc but I didn't make it. Any idea ?