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

Ipywidgets support questions #152

Open
Justyouraveragehomie opened this issue Dec 21, 2024 · 0 comments
Open

Ipywidgets support questions #152

Justyouraveragehomie opened this issue Dec 21, 2024 · 0 comments

Comments

@Justyouraveragehomie
Copy link

Hi,
So I'm running the pyodide-kernel in jupyterlite/voici, but I have to import ipywidgets using %pip install -q
Which as I understand it, retrieves ipywidgets from pypi. If im wanting to create a static offline app that doesn't request packages this wont work for me.
Maybe this is something im misunderstanding, but what is the reason ipywidgets is not included in the pyodide kernel itself? Will it be?
Is there some workaround to pre-installing packages in the pyodide kernel like how xeus kernel works?
My main issue is that although pyodide includes opencv, pre-installing opencv in the xeus kernel does not seem to be possible (?) so I have to rely on the pyodide kernel it seems. (since im wanting to use ipywidgets with opencv).
Again this might just be a misunderstanding on my part and im also assuming I can't run both kernels at once.
Thanks for your time.

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

No branches or pull requests

1 participant