-
Notifications
You must be signed in to change notification settings - Fork 959
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
Standalone installation script installed uv
fails to uv self update
#6774
Comments
I am encountering a similar issue on a Macbook Pro M3. I installed uv using the curl command. When I attempt to update I encounter the following:
I tried the "--verbose" flag which resulted in exactly the same message. I tried closing everything and rebooting with the same result. Next up will be to do an uninstall and fresh reinstall. |
Hm. I'm on a M3 as well and can't reproduce that. |
To update, I finally had to uninstall uv 0.3.5 and then install uv 0.4.3. Today I tried to update to uv 0.4.5 and I am running into the same issue as previous:
|
I'm having the same issue in Windows (installed via standalone script).
[EDIT]I managed to run self update successfully thanks to a comment here #6417. I was using |
Got the same problem. $ uv self update
warning: Self-update is only available for `uv` binaries installed via the standalone installation scripts.
If you installed `uv` with `pip`, `brew`, or another package manager, update `uv` with `pip install --upgrade`, `brew upgrade`, or similar.
$ uv self update -v
DEBUG receipt is not for this executable; assuming `uv` was installed via a package manager
warning: Self-update is only available for `uv` binaries installed via the standalone installation scripts.
If you installed `uv` with `pip`, `brew`, or another package manager, update `uv` with `pip install --upgrade`, `brew upgrade`, or similar.
han@VitaminC:~/courses/cs194-llm-agents$ uv cache prune
Pruning cache at: /home/han/.cache/uv
Removed 9 files (3.2MiB)
$ uv self update -v
DEBUG receipt is not for this executable; assuming `uv` was installed via a package manager
warning: Self-update is only available for `uv` binaries installed via the standalone installation scripts.
If you installed `uv` with `pip`, `brew`, or another package manager, update `uv` with `pip install --upgrade`, `brew upgrade`, or similar. Seems like its something related to |
@leehanchung Generally that means that some other uv on the system was installed after the one that you're using. What does |
found the issue. i had the old thanks!! |
…#9487) Attempts to improve confusing messaging in cases like #6774 (comment), when the receipt is for a different uv executable. ``` ❯ cargo run --all-features -q -- self update warning: Self-update is only available for uv binaries installed via the standalone installation scripts. The current executable is at `/Users/zb/workspace/uv/target/debug/uv` but the standalone installer was used to install uv to `/Users/zb/.cargo`. Are multiple copies of uv installed? ``` Requires axodotdev/axoupdater#221 Closes #6774
Recent versions of
uv
have not been able touv self update
despite being installed via the standalone installation script. I have not been able to pinpoint the issue to anything in particular on my system. All relevant information below:The text was updated successfully, but these errors were encountered: