uv icon indicating copy to clipboard operation
uv copied to clipboard

Improve uvx error message when uv is missing

Open zanieb opened this issue 1 year ago • 4 comments

from https://github.com/astral-sh/uv/issues/9742

❯ cargo run -q --bin uvx
Provide a command to run with `uvx <command>`.

The following tools are installed:

- ansible-core v2.17.5
- black v24.10.0
- rooster-blue v0.0.0

See `uvx --help` for more information.
❯ rm target/debug/uv
❯ cargo run -q --bin uvx
error: Could not find the `uv` binary at /Users/zb/workspace/uv/target/debug/uv

zanieb avatar Dec 09 '24 19:12 zanieb

We could give some guidance on how to fix, but not blocking.

charliermarsh avatar Dec 09 '24 19:12 charliermarsh

Yeah idk what the guidance is? Reinstall?

zanieb avatar Dec 09 '24 19:12 zanieb

Yeah I think at least rm the uvx...

charliermarsh avatar Dec 09 '24 19:12 charliermarsh

I'm interested in waiting to see how someone would get in this situation, but agree guidance would be nice.

zanieb avatar Dec 09 '24 19:12 zanieb