Env Management

Use when a notebook run fails on a missing package (ImportError, ModuleNotFoundError, "there is no package called"), when you need to inspect an installed package version, or when you need to install, add, or manage Python or R packages for the notebook runtime. Covers inspect_packages, routing Python vs R through manage_packages, why in-cell %pip/!pip/install.packages() and OS installers are forbidden, restarting the kernel after an install, and when to stop and ask the user.

aipoch 51ffac9 6.8 KB Updated

File contents

aipoch/open-science/tree/main/resources/skills/env-management commit 51ffac95cc

Frequently asked questions

npx skillmds@latest add aipoch/env-management