If pip version is 24.1 or later, I get build errors due to dependency inconsistencies. Something seems to have changed in the handling of comparison symbols.
They want you to loosen library dependencies.

Also, some libraries depend on the old numpy, and I think the error occurs when using the new numpy API.
In these cases, changing the library that is dragging you down to the github version may solve the problem.

P.S.
I'm not sure exactly which library, but it looks like that library specifies a pre-2021 version of numpy, so I'm guessing the candidates are limited.

P.S.
For now, the primary suspect is faiss. The faiss-cpu will bring the faiss on its own anyway, so if you don't specify it, it might fix it.

Blane187 changed pull request status to merged

Sign up or log in to comment