Sample Header Ad - 728x90

Python 3 on Android using TerminalIDE

1 vote
1 answer
977 views
I want to code Python 3 on my Android device. So I went through [Lanky Cyril's blog](http://blog.lankycyril.com/post/39473303019) post on using the Terminal IDE to put all that I needed to do code on an Android terminal. For Python 2.X that is installed on the blog, it works like a charm. So I installed Python 3 using the same instructions. This is what I get when I try to start Python 3: terminal++:~$ ~/python3 Fatal Python error: Py_Initialize: unable to load the file system codec LookupError: no codec search functions registered: can't find encoding Segmentation fault I made sure: export PYTHONHOME=/data/data/com.googlecode.python3forandroid/files/python3 export PYTHONPATH=${PYTHONHOME}/lib/python3.2/lib-dynload I also checked on why [python 3 is not loading ](https://stackoverflow.com/questions/5694706/py-initialize-fails-unable-to-load-the-file-system-codec) on StackOverflow. So the problem could be the python build. Has anyone worked around this?
Asked by Afrowave (121 rep)
Mar 24, 2014, 02:13 PM
Last activity: Feb 19, 2022, 01:07 AM