For a project, I am porting a scientific Python app using SciPy to Android. I am currently using
https://github.com/kivy/python-for-android
to build the code. NumPy builds, but SciPy is proving to be a real hassle. Hacking around with devenv, and kivy python for android, I kinda got to compile the SciPy C libs to android ARM, but now, the fortran libs remain to be built, and I'm at a loss.
Any help would be deeply appreciated.
SciPy requires a Fortran compiler to be built, and heavily depends on wrapped Fortran code.
SciPy is a scientific computation library that uses NumPy underneath. SciPy stands for Scientific Python. It provides more utility functions for optimization, stats and signal processing. Like NumPy, SciPy is open source so we can use it freely.
NumPy is written in C and so has a faster computational speed. SciPy is written in Python and so has a slower execution speed but vast functionality.
An apology if this is a non-answer:
First off, if you are just playing around I recommend installing a regular linux on arm chroot jail/environment, e.g. raspbian or ubuntu and working within.
Finally if you want to build your libs as proper android libs, you have to deal with slightly different runtime, but that has been done, at least wrt. Fortran. http://specificimpulses.blogspot.com/2011/01/my-android-speaks-fortran-yours-can-too.html
Typically you are expected to cross-compile, however there are way to get Adnroid sortof self-hosted (gcc, build tools), but I can't vouch for ability to pip install packages that require compilation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With