manzt
manzt4mo ago

Install dependencies in wasm playground?

Maybe I just can't find the UI, but is it possible to install dependencies in the wasm playground?
2 Replies
Myles Scolnick
Myles Scolnick4mo ago
@manzt , you can just import the dep and it should propmpt to autoinstall it will do this everytime, so may want to use micropip
import micropip
await micropip.install('altair')
import altair as alt
import micropip
await micropip.install('altair')
import altair as alt
manzt
manztOP4mo ago
thank you!