-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 lists python interpreters but can't use them! #9668
Comments
That's surprising. Can you share the |
sure, here's the verbose
|
This comment has been minimized.
This comment has been minimized.
@aDotInTheVoid that's unrelated — the above issue is related to the Windows registry — could you open a new issue instead? @meitham There's an error
This comes from the check at uv/crates/uv-python/src/py_launcher.rs Lines 66 to 76 in d0afd10
I'm not sure what would cause that, @konstin may know. Does it work for other Python versions like 3.12? |
Can you share the output of Currently puzzled by how the 3.9.13 is shown in the list but then can't be used, we use the same code path for listing and deciding on which interpreter to execute. |
Please see below my registry. I think I see what the issue is, I have python 3.9.12 (miniconda) and python 3.9.13 (psf) but in the windows registry their patch version is omitted so they both appear as 3.9. Though one was installed by admin so it went into current machine, and the other is in current user.
and My Local Machine
|
Previously, `-vvv --color never` would still emit ANSI sequences to stderr. Ref #9668 (comment)
Previously, `-vvv --color never` would still emit ANSI sequences to stderr. Ref #9668 (comment)
The `SysVersion` registry entry may or may not include the patch version, so if we encounter a registry entry without a patch version, we must not assume that the patch version is 0. ``` Name Property ---- -------- 3.9 DisplayName : Python 3.9 (64-bit) SupportUrl : https://www.python.org/ Version : 3.9.13 SysVersion : 3.9 SysArchitecture : 64bit Hive: HKEY_CURRENT_USER\Software\Python\PythonCore\3.9 ``` Confirmed the fix manually. Fixes #9668
Thank you for fixing this, and special thanks for fixing the colors issue ;-) |
I'm on version uv 0.5.6 (b70c4f3 2024-12-03) on windows
uv sees my python interpreters from the windows registry
But when I try and use one of them uv complains it does not exists
I think the
uv venv
command does not use the same discover mechanism as theuv list
The text was updated successfully, but these errors were encountered: