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

RFE: Improve the "No interpreter found" error message when python-downloads is set to "manual" #9437

Open
hroncok opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
error messages Messaging when something goes wrong

Comments

@hroncok
Copy link

hroncok commented Nov 26, 2024

Hello.

Consider /etc/uv/uv.toml with:

python-downloads = "manual"

And a system without Python 3.X installed.

When I attempt to use Python 3.X, I get an error:

$ uv venv --python=python3.X venv
  × No interpreter found for Python 3.X in managed installations or search path

This is expected. I opened this issue to ask if the error could be more verbose (and actionable). The most relevant things that I would love to see there are:

  • Not downloading Python 3.X because python-downloads is set to "manual" in /etc/uv/uv.toml.
  • Run uv python install 3.X to manually install it.

Thanks for considering this.

Unfortunately, my Rust skills are 0 and I am not familiar with uv codebase at all, so I won't be able to contribute this.


  • The current uv platform: Fedora Linux
  • The current uv version (uv --version): 0.5.4
@charliermarsh charliermarsh added the error messages Messaging when something goes wrong label Nov 26, 2024
@zanieb zanieb self-assigned this Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Messaging when something goes wrong
Projects
None yet
Development

No branches or pull requests

3 participants