Question Details

No question body available.

Tags

python scipy openblas pyodide

Answers (1)

September 25, 2025 Score: 1 Quality: Low Completeness: 50%

Alongside your scipy-1.14.1-....whl file, you need to serve the packages.json file and the libopenblas-0.3.26.zip archive. These should be the exact versions from the Pyodide 0.28.2 release you are using

Place these files in a directory accessible to your web worker (e.g., /wheels/).

Update your loadPyodide configuration to point to this directory:

const pyodide = await loadPyodide({
  indexURL: "/wheels/", // or the correct path to your directory
});

This tells Pyodide where to find the package metadata. Now you can simply use await pyodide.loadPackage("scipy");