Adding custom python library to pyodide

I am trying to use a wheel package in the browser using pyodide. The wheel package is attached herewith also.

When I run the following command in the browser console, I get an error.
await loadPyodide();
await pyodide.runPythonAsync( import micropip await micropip.install(''))

OSError: [Errno 29] I/O error

Have you checked the network monitor in the appropriate toolbox? It’s possible loading the file over the internet is failing.

Also note that this might be hard to make compatible with the add-on guidelines:
you would likely have to bundle all the python wheels with the extension (and possibly provide source code?).

It’s also possible pyodide needs eval, which is not allowed by default in extensions: