Hi all, I'm having trouble getting kedro viz to ru...
# questions
r
Hi all, I'm having trouble getting kedro viz to run, even for an example repo. Here's the steps I've taken: 1. run
uvx kedro new
(uses kedro
0.19.11
) 2. Generate a project with options
1-5,7
(everything but pyspark) 3. Run
uv venv
and
uv sync
4. Run
kedro viz
, I get the following output:
Error: No such command 'viz'.
This is on a Mac with python 3.11. Am I missing something very obvious?
h
Someone will reply to you shortly. In the meantime, this might help:
r
I see this other issue but that seems to be a pretty specific case.
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'.
)
Ok seems to be some pydantic v1/v2 dependency error.
j
let me see if I can reproduce
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