-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 when importing FAISSDocumentStore #3600
Comments
Same error of #3561 (comment). |
@anakin87 I also started seeing this error in our CI for deepsparse. Specifically it seems |
it was solved automatically without any modifications, don't know how :D ? |
Hey everyone, I am having the same issue now. For me, I tried installing and reinstalling haystack, but it is persistent. Specifically, it appears whenever I try to import certain (but not all) packages. For example, Besides downgrading to faiss-cpu==1.7.2, is there any other or better solution I should follow? |
I resolved this issue by uninstalling |
Describe the bug
from haystack.document_stores import FAISSDocumentStore
Error message
AttributeError: module 'faiss' has no attribute 'swigfaiss'
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here, like document types / preprocessing steps / settings of reader etc.
To Reproduce
Steps to reproduce the behavior
FAQ Check
System:
The text was updated successfully, but these errors were encountered: