jupyterlite/demo

pre-install pure python package in static html site

Closed this issue · 1 comments

Problem

Not sure if this is possible but I could not figure how to pre-install a pure python package on my jupyterlite static html site.
The example is here:

https://marcocaggioni.github.io/rheolite/lab/index.html

in the notebook the first cell is to micropip install lmfit which works fine but takes some time:

import micropip
await micropip.install('lmfit')

Suggested Improvement

If not yet there and if possible would be nice to have in the documentation a section explaining how to pre-install packages

thanks!

jtpio commented

Thanks @marcocaggioni for opening this.

Looks like this is being tracked in jupyterlite/pyodide-kernel#60