pub fn install(
exec: &Exec,
data_dir: &Path,
packages: &[String],
ctx: &ToolContext<'_>,
) -> Result<String, String>Expand description
Create the managed venv if needed and install packages into it. Usable by the app
directly (e.g. a “set up Python for data analysis” button). Runs in the sandbox with
network on, writing only under <data>/python.