When I run pip-compile I get an error telling me that
AttributeError: 'InstallRequirement' object has no attribute 'use_pep517'
I am using
From other threads, I suspect that there is a compatibility issue between pip and pip-compile versions, but I couldn't find any information on the compatibility mix.
I have tried a number of things to resolve this
requirements.in file down to one library rather than everything the app needs. I have tried each library in turn as an individual.Nothing I have done has had any effect. I can't think what else I can do to resolve this and should be grateful for any help.
The recommendation supplied by Dunes solved the issue. It seems that pip 25.3 is causing the compatibility issue.
Run:
pip install -U 'pip<25.3'
And pip-compile runs smoothly again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With