jupyterlite / jupyterlite/pyodide-kernel

Ipywidgets support questions

Open
#152 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
90
Forks
47
Avg merge
3d 13h
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.