Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv Rich Installation error : No executables are provided by rich #3555

Closed
kb-cov opened this issue Nov 9, 2024 · 5 comments
Closed

uv Rich Installation error : No executables are provided by rich #3555

kb-cov opened this issue Nov 9, 2024 · 5 comments

Comments

@kb-cov
Copy link

kb-cov commented Nov 9, 2024

Hi, I am trying to install Rich using the new uv package manager.....when trying to install I get the following error message:

➜ ~ uv tool install rich
Resolved 4 packages in 113ms
Installed 4 packages in 36ms

  • markdown-it-py==3.0.0
  • mdurl==0.1.2
  • pygments==2.18.0
  • rich==13.9.4
    No executables are provided by rich

When I try to run it in terminal using uvx I get....

➜ ~ uvx rich .zshrc
Installed 4 packages in 33ms
The executable rich was not found.
warning: Package rich does not provide any executables.

I'm on MacOS Sequoia 15.1 and using latest uv version 0.5.1.....I'm not sure if this is a uv issue or a problem with the Rich package itself. Any ideas what may be causing this error message ?

Thanks...

Copy link

github-actions bot commented Nov 9, 2024

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

@kb-cov kb-cov changed the title [BUG] uv Rich Installation error : No executables are provided by rich Nov 9, 2024
@TomJGooding
Copy link
Contributor

TomJGooding commented Nov 9, 2024

I'm not yet familiar with uv, but I think the problem is that you're trying to install the rich library as a tool?

Tools are Python packages that provide command-line interfaces.

https://docs.astral.sh/uv/concepts/tools/

If you're looking for a command-line interface rather than the library itself, you might want to install rich-cli instead.

@kb-cov
Copy link
Author

kb-cov commented Nov 9, 2024

@TomJGooding - you are absolutely right....I have had a total brain dead moment on this....I've been using Rich on the command line for so long (installed via PIPX), I had convinced myself that because the command is actually rich I assumed I needed to install Rich, when in fact I actually needed to install Rich-CLI.....apologies for wasting your time and thank you for pointing out my obvious mistake. As an aside, uv is pretty great so far - have moved from using pyenv, pipx, pip and python's venv module to doing it all in uv and its nice to have all that functionality in one tool....might be worth giving it a go...

@kb-cov
Copy link
Author

kb-cov commented Nov 9, 2024

rich-cli now successfully installed through uv....thank you.

@kb-cov kb-cov closed this as completed Nov 9, 2024
Copy link

github-actions bot commented Nov 9, 2024

I hope we solved your problem.

If you like using Rich, you might also enjoy Textual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants