installing python packages on android
Asked Answered
C

2

7

I want to install a python package from source on android. Is this possible? I tried in the console to run the py install files, but distutils (.core, ccompiler) isn't being found. Is it possible to still install them?

Cadmium answered 29/4, 2010 at 0:7 Comment(1)
#102254Proxy
C
1

Android does not ship with a Python interpreter, nor does it ship with gcc or other compilers. You will need to get an ARM binary from somewhere or cross-compile one yourself. (BTW, I'm assuming ARM, but substitute in whatever architecture you happen to be running).

Cletis answered 29/4, 2010 at 0:28 Comment(2)
I am using Android Scripting Environment.Cadmium
Android Scripting Environment does not involve distutils, AFAIK.Cletis
A
0

If you're using ASE (Android Scripting Environment), and the package you want to install is pure-python (that is, no C compiled libraries), you can simply copy the package's directory manually onto the sdcard, to /sdcard/ase/extras/python (as specified on the ASE FAQ).

Aleydis answered 30/4, 2010 at 4:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.