Explain Dependencies with
What
Dependencies with uv (not scary, just new)
A “dependency” is just “a library your code uses.” uv helps you install them and run your program with
the right versions.
TL;DR
uv add requestsinstalls a library and records it in your project config.uv run python -m src.scoutruns your code using the project’s dependencies.- If you see
ModuleNotFoundError, you probably forgotuv add ....
The “I imported it and it yelled at me” moment
The error
ModuleNotFoundError: No module named 'requests' Fix: install it, then rerun.
The fix
uv add requests
uv run python -m src.scout What uv run buys you
You can tell future-you (or a friend) “run this one command” and it works without manually installing things. That’s the entire vibe.