Skip to content

type object 'MissingDependency' has no attribute 'load' #3092

Discussion options

You must be logged in to vote

Hi,

For the first part

faiss is part of the optional dependencies. So during installation you'll need to specify it also be installed.

pip install farm-haystack[faiss]

Let me know if you had already done it but still get this issue. My guess is you ran a notebook with [faiss] included but this notebook doesn't do it when installing haystack (?)

For the second part

What is probably happening is that the faiss_document_store.db file is missing during your second run.
Solution: You need to save that too into Drive. For this, you can pass the location as FAISSDocumentStore(sql_url="sqlite:///content/drive/MyDrive/Dataset/faiss_document_store.db", ...) when first creating it.

And do the same w…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@debuggedcoder
Comment options

@debuggedcoder
Comment options

@bglearning
Comment options

@debuggedcoder
Comment options

@bglearning
Comment options

Answer selected by bglearning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants