Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing python packages on android

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?

like image 846
V_H Avatar asked Apr 29 '10 00:04

V_H


People also ask

Can I install pip on Android?

you can install ,search pips in pip library. and you would have to install pyroid respiratory plugin. and thats all.

Can we integrate Python with Android?

The easiest way to use Python in an Android appChaquopy provides everything you need to include Python components in an Android app, including: Full integration with Android Studio's standard Gradle build system.

How do I open a .PY file on Android?

If you want to run Python on mobile, one of the easiest options is simply to download an IDE on your chosen platform. There is no need to download a separate interpreter, you can simply download the app and start typing and running your Python code.


1 Answers

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).

like image 77
CommonsWare Avatar answered Sep 30 '22 18:09

CommonsWare