Get help from the marimo community

Updated 3 months ago

Install dependencies in wasm playground?

At a glance

The community member asked if it is possible to install dependencies in the WASM playground. Another community member responded that the user can just import the dependency, and it should prompt to auto-install. They also suggested using micropip to install dependencies, providing an example of installing the altair library.

Maybe I just can't find the UI, but is it possible to install dependencies in the wasm playground?
M
m
3 comments
@manzt , you can just import the dep and it should propmpt to autoinstall
it will do this everytime, so may want to use micropip

Plain Text
import micropip
await micropip.install('altair')
import altair as alt
Add a reply
Sign up and join the conversation on Discord