-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show interpreter source during Python discovery query errors (#7928)
Closes #4154 e.g. ``` ❯ UV_PYTHON=/dev/null cargo run -q -- pip install anyio error: Failed to inspect Python interpreter from provided path at `/dev/null` Caused by: Failed to query Python interpreter at `/dev/null` Caused by: Permission denied (os error 13) ❯ VIRTUAL_ENV=/dev/null cargo run -q -- pip install anyio error: Failed to inspect Python interpreter from active virtual environment at `/dev/null/bin/python3` Caused by: Failed to query Python interpreter Caused by: failed to canonicalize path `/dev/null/bin/python3` Caused by: Not a directory (os error 20) ```
- Loading branch information
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters