draco2 icon indicating copy to clipboard operation
draco2 copied to clipboard

Using AltairRenderer in pyodide enviornment

Open jiwnchoi opened this issue 1 year ago • 1 comments

Hello, I'm currently working on a project using draco-pyodide.

I imported AltairRenderer to convert the recommended visualization to Vega-Lite, but I'm encountering the following error. (This error appears not only in the pyodide console you provided but also in my source code.)

image

In the released tarball, the version of pydantic is 2.4.2, but as shown in the attached image, version 1.10.7 of pydantic is loaded in the environment. I think this might be the cause of the problem.

How can I resolve this issue?

Thank you for developing such an amazing library.

jiwnchoi avatar Aug 22 '24 23:08 jiwnchoi

I'm not sure what's going on and would appreciate help with fixing this.

domoritz avatar Aug 23 '24 17:08 domoritz