-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
resolver struggles #7879
Comments
Did you try following the hint after the error?
More information in the documentation. |
and then it fails again doing another pip install:
it messes something up here with
works just fine. And again switching to for context: I'm trying to build a simpler and faster version of https://github.com/NVIDIA/TensorRT-Model-Optimizer/blob/main/docker/Dockerfile replacing |
Similarly, There's a dedicated hint for this too
|
thank you for the hints, @zanieb I have a feature request then: can we have a new env var that if set makes I'm sort of sitting on the fence here, wanting to use |
I don't think you should need to constantly figure things out, the differences are described thoroughly in the compatibility document. I don't think we can / will provide a flag that makes uv "act exactly like pip" — we usually have strong justifications for differing on our defaults. It's an interesting suggestion though. |
but you're Moreover I most likely will figure things out, but not everybody on my team will and they will complain and then I will need to spend even more time supporting them. My intuition is that for a great "Keep simple things simple, and difficult things doable" or something of sorts is a good motto some projects have |
For what it’s worth, that build isolation behavior you’re seeing (the second error you referenced) will almost certainly be true in future versions of pip too. They have not made the PEP 517 standard a default yet. |
I think for now I will just stick to |
using
uv-0.4.18
whereas
pip
installs just fine:I'm installing into the
nvidia/cuda:12.5.1-devel-ubuntu22.04
docker image.here is the full repro:
if I manually do this first:
then the resolver works. somehow it can't figure out it can install
torch==2.4.0
The text was updated successfully, but these errors were encountered: