You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In JupyterLite the Pyodide-based kernel runs in a Web Worker instead of the main thread. Which means some of the APIs and access to the DOM are not directly supported, although some projects like Comlink could help with this.
In theory it's possible to implement a custom JupyterLite kernel that would run Pyodide in the main thread and would give access to document and window, However this is likely not going to be supported by default in core JupyterLite.
Description
Current
pyodide
stays on version v0.20.0, which should supportjs.window
orjs.document
following the pyodide doc.However, I cannot use them in jupyterlite.

Use pyodide REPL:

The text was updated successfully, but these errors were encountered: