Quote:
Originally Posted by mdp
But I remember that Fabrizio asked about using python on Onyx tablets, and I believe that the request remained unfulfilled. The mention of termux
|
Tried the following instructions to get python and jupyter working on a Max 2:
- Install termux and hacker's keyboard (e.g. via f-droid)
- Start termux
- Install wget and gnupg2: pkg install wget gnupg2
- Get repository setup script: wget https://its-pointless.github.io/setup-pointless-repo.sh
- Run script: bash setup-pointless-repo.sh
- Install some termux packages: pkg install scipy numpy clang python-dev fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev pkg-config
- Install some bits via pip: LDFLAGS=" -lm -lcompiler_rt" pip install matplotlib pandas jupyter
Step 7 kept failing here due to network issues but breaking the command up into three pieces seemed to work better.
Verified that python, jupyter, vim, emacs, and git worked
--------
On a related note, I had problems while installing python(-dev?):
PermissionError: [Errno 13] Permission denied: '/'
on a rather different device, but found a work-around at:
I believe it was:
$PREFIX/bin/python -m ensurepip --upgrade --default-pip
--------
P.S. Thanks for all of your testing work
--------
References:
https://wiki.termux.com/wiki/Package...e_the_dream.29
http://www.leouieda.com/blog/scipy-on-android.html