Closed rhildred closed 1 month ago
I worked around it by setting a 1ms timeout.
await pyodide.loadPackage('micropip');
setTimeout(async ()=>{
const micropip = await pyodide.pyimport("micropip");
await micropip.install('flask');
},1);
I couldn't see how your code had anything to do with it
Neat idea sippycup. It looks like a lot of it works from the below console. I did a fresh run from the frontend folder.
It draws the UI and then crashes on the micropip module not being found.