import webcolors
and get it installed! But how can I import a specific version? E.g., with pip I'd do pip install webcolors==1.12
.uv add --script notebook.py webcolors==1.12
pandas==2.0.0
. --sandbox
, it will be added with at that version to your inline-script metadata