-
Notifications
You must be signed in to change notification settings - Fork 106
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
faiss installation issues in conda env #254
Comments
Thanks for sharing this. Just curious, what about removing |
Letting pip handle the dependencies results in an error:
Installing with pip in python3.11 (no conda) produces a similar error. I guess the installation via pip is not intended, to quote the faiss-installation guide: "The supported way to install Faiss is through conda." |
Thanks for the clarification! So, I just missed the correct version. I will stick with python 3.12 and the solution above for now, that seems to work just fine. From my side this can be closed, only suggestion I have to maybe add this as a note under the installation section. |
I'm trying to install OpenOOD in a conda environment per yaml file, like so:
Building with
conda env create --file=env.yaml
throws an error sayingfaiss-gpu>=1.7.2
can not be satisfied.Changing this to
faiss>=1.7.2
insetup.py
resolves the issue.The problem is probably somewhere between pip and conda.
On inspection
conda list | grep faiss --> faiss-gpu
, butpip list | grep faiss --> faiss
and pip can not find thefaiss-gpu
package.Not sure if this needs fixing or is a packaging issue with conda, either way the trinity of
faiss, faiss-cpu, faiss-gpu
is confusing. Maybe this helps somebody else trying to install OpenOOD in a conda env.The text was updated successfully, but these errors were encountered: