demo icon indicating copy to clipboard operation
demo copied to clipboard

pre-install pure python package in static html site

Open marcocaggioni opened this issue 4 years ago • 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!

marcocaggioni avatar Oct 28 '21 20:10 marcocaggioni

Thanks @marcocaggioni for opening this.

Looks like this is being tracked in https://github.com/jupyterlite/jupyterlite/issues/186

jtpio avatar Oct 28 '21 21:10 jtpio