Hi all, I'm having trouble getting kedro viz to run, even for an example repo. Here's the steps I've taken:
uvx kedro new
(uses kedro 0.19.11
)1-5,7
(everything but pyspark)uv venv
and uv sync
kedro viz
, I get the following output: Error: No such command 'viz'.
Ok, weird, the issue was that creating a kedro project with uvx
didn't add any of the kedro viz dependencies. This is separate from the issue I'm dealing with, which is that kedro viz won't run on the project I'm working on (giving the same error Error: No such command 'viz'.
)
it works for me but you need to do uv run kedro viz
and not just kedro viz
@Richard Purvis
otherwise it doesn't pick it up. it's similar to how cargo run
or npm run
work, they use the right $PATH
for you behind the scenes