Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and load TopoStats in Notebooks #7

Open
ns-rse opened this issue Oct 11, 2023 · 1 comment
Open

Install and load TopoStats in Notebooks #7

ns-rse opened this issue Oct 11, 2023 · 1 comment
Assignees

Comments

@ns-rse
Copy link
Contributor

ns-rse commented Oct 11, 2023

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 and numpy<2.0.0 and currently pyodide only provides numpy-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.

@ns-rse ns-rse self-assigned this Oct 11, 2023
@ns-rse
Copy link
Contributor Author

ns-rse commented Nov 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant