View Single Post
Old 01-11-2018, 06:45 AM   #351
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
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:
  1. Install termux and hacker's keyboard (e.g. via f-droid)
  2. Start termux
  3. Install wget and gnupg2: pkg install wget gnupg2
  4. Get repository setup script: wget https://its-pointless.github.io/setup-pointless-repo.sh
  5. Run script: bash setup-pointless-repo.sh
  6. Install some termux packages: pkg install scipy numpy clang python-dev fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev pkg-config
  7. 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
sogaiu is offline   Reply With Quote