The latest snapshots builds (like, yesterday's ;p) of Python
3 should include numpy (on armv7 devices, at least, i.e., everywhere except things running FW < 4.x).
It should *probably* work, I haven't actually tested it, but I think I've nailed the final build issues (numpy's build system is kind of... esoteric, shall we say).
Fair warning: If it works, it'll probably be slow as hell, though.
EDIT: Yup, works.
Code:
┌─(ROOT@kindle:pts/0)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(1.47:58%:23:41:73%:#)── python3 ──(Tue, Apr 06)─┘
Python 3.9.4 (default, Apr 5 2021, 06:23:37)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> a = np.arange(15).reshape(3, 5)
>>> a
array([[ 0, 1, 2, 3, 4],
[ 5, 6, 7, 8, 9],
[10, 11, 12, 13, 14]])
>>>