-
Notifications
You must be signed in to change notification settings - Fork 892
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
Error: cannot uninstall package
occurs on installing a package a second time
#6872
Comments
I'll take a look, thanks. |
The structure of the wheel is slightly problematic... It seems to include a directory at the top-level that shouldn't be there. I'd recommend upgrading the version honestly, but we can also make uv robust to this. |
Another way to explain it is that because there are two separate
|
Thank you! |
Yeah totally understand -- I generally don't like "upgrade it" as a solution for users (sometimes there's no choice). I think we can be more graceful here but you might be shown a warning or something when we reinstall (rather than failing). |
I'm working on upgrading my project to use
uv
and ran into this error when I installed therequirements.txt
file a second time. I've narrowed it down to exactly a particular dependency that gives the error.Reproduction steps
Expected
Don't throw an error when installing a package that was already installed properly
I've included a more detailed output with
RUST_LOG=TRACE
and-v
reinstall.log
The text was updated successfully, but these errors were encountered: