Open ns-rse opened 9 months ago
Some (slow) progress on this.
There is now an updated build of numpy available in pyodide (see PR#4240).
However on loading this results in a complaint about ruamel-yaml-clib
which has seen some discussion here.
Setting deps=False
when installing ruamel-yaml
worked too....which led to the next blocker which was that a particular version of Matplotlib couldn't be installed.
import micropip
# await micropip.install('ruamel-yaml', keep_going=True, deps=False)
# %pip install ruamel.yaml
%pip install topostats
I'll keep on chipping away at this and will hopefully make it so that we can install TopoStats in JupyterLite notebooks and run things there.
The Notebooks have been imported and JupyterLite runs (see here) however its not currently possible to install and load TopoStats because it has a dependency on
numpy>=1.26.0
andnumpy<2.0.0
and currently pyodide only providesnumpy-1.25.2
(earlier versions may be available).I've requested an updated version of Numpy (see pyodide : Issue 4213) and will attempt to build myself.