manzt
manzt3mo 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 Scolnick3mo 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
manztOP3mo ago
thank you!