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

pre-install pure python package in static html site #38

Closed
marcocaggioni opened this issue Oct 28, 2021 · 1 comment
Closed

pre-install pure python package in static html site #38

marcocaggioni opened this issue Oct 28, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@marcocaggioni
Copy link

marcocaggioni commented Oct 28, 2021

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 marcocaggioni added the documentation Improvements or additions to documentation label Oct 28, 2021
@jtpio
Copy link
Member

jtpio commented Oct 28, 2021

Thanks @marcocaggioni for opening this.

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

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

No branches or pull requests

2 participants