mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
parent
3559f0e6ab
commit
18a7c079de
1 changed files with 3 additions and 1 deletions
|
@ -157,7 +157,9 @@ pub fn find_default_python(platform: &Platform, cache: &Cache) -> Result<Interpr
|
|||
"python.exe",
|
||||
env::var_os("UV_TEST_PYTHON_PATH"),
|
||||
current_dir,
|
||||
) {
|
||||
)
|
||||
.or_else(|_| which::which("python.exe"))
|
||||
{
|
||||
python
|
||||
} else {
|
||||
installed_pythons_windows()?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue