Turn your Android phone / tablet / tv box into a full featured Python workstation with Numpy, Scipy, Matplotlib, Jupyter, Pandas, Scikit-image, Scikit-learn, Networkx, OpenCV, etc. No rooted device necessary.
List of commands: (updated on 2021-01-29)
Please visit this link:
https://gist.github.com/thetdg/53ed30...
Here are the commands anyway:
pkg install util-linux clang llvm nano wget autoconf automake bison bzip2 cmake coreutils diffutils flex gawk git grep gzip libtool make patch perl readline-dev sed silversearcher-ag tar python python-dev fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev libjpeg-turbo-dev glib pkg-config zlib zlib-dev
$PREFIX/bin/wget https://its-pointless.github.io/setup...
bash setup-pointless-repo.sh
pkg update
pkg install numpy scipy -y
pip install -U pip setuptools
pkg-config --cflags freetype2
LDFLAGS=" -lm -lcompiler_rt" pip install matplotlib
pip install jupyter sympy control networkx pandas
LDFLAGS="-L/system/lib/ -lm -lcompiler_rt" pip install Pillow --global-option="build_ext"
LDFLAGS=" -lm -lcompiler_rt" pip install cython
pip install scikit-image
pip install scikit-learn
pkg install opencv
nano /data/data/com.termux/files/usr/lib/python3.7/site-packages/matplotlib/mpl-data/matplotlibrc
nano /data/data/com.termux/files/usr/lib/python3.7/site-packages/matplotlib/mpl-data/matplotlibrc