astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
20.34k stars 605 forks source link

No interpreter found in system path or `py` launcher #7391

Open michelkluger opened 5 days ago

michelkluger commented 5 days ago

❯ uv venv env × No interpreter found in system path or py launcher

❯ uv python install 3.11 warning: uv python install is experimental and may change without warning Searching for Python versions matching: Python 3.11 Found existing installation for Python 3.11: cpython-3.11.9-windows-x86_64-none

❯ uv venv env × No interpreter found in system path or py launcher

details, uninstalled previous python from computer (also did not work with) windows 11, uv==0.4.10

charliermarsh commented 5 days ago

I think you're on an older version of uv (unintentionally). "warning: uv python install is experimental and may change without warning" was removed in 0.3.

charliermarsh commented 5 days ago

How did you install uv? I'd suggest uninstalling it and reinstalling.

michelkluger commented 5 days ago

How did you install uv? I'd suggest uninstalling it and reinstalling.

let me try that, thank you for the prompt answer

michelkluger commented 5 days ago

solved most of my issue

but still I have issues with sync that I dont with uv pip

❯ uv sync warning: VIRTUAL_ENV=env does not match the project environment path .venv and will be ignored error: Querying Python at \\?\C:\Users\MichelKluger\mypath\myproj\.venv\Scripts\python.exe failed with exit status exit code: 103 --- stdout:

--- stderr: No Python at '"C:\Users\MichelKluger\AppData\Roaming\uv\data\python\cpython-3.11.9-windows-x86_64-none\python.exe'

❯ uv pip install -r .\requirements-dev.txt Audited 98 packages in 41ms

michelkluger commented 5 days ago

❯ uv python list cpython-3.13.0rc2-windows-x86_64-none cpython-3.12.6-windows-x86_64-none cpython-3.11.10-windows-x86_64-none C:\Users\MichelKluger\AppData\Roaming\uv\python\cpython-3.11.10-windows-x86_64-none\python.exe cpython-3.10.15-windows-x86_64-none cpython-3.9.20-windows-x86_64-none cpython-3.8.20-windows-x86_64-none cpython-3.7.9-windows-x86_64-none pypy-3.10.14-windows-x86_64-none pypy-3.9.19-windows-x86_64-none pypy-3.8.16-windows-x86_64-none pypy-3.7.13-windows-x86_64-none