Skip to content

Install Haystack With a Dockerfile #2982

Answered by ghost
ghost asked this question in Questions
Aug 6, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @danielbichuetti !

Thanks for your reply as you told me i installed the package successfully but now i have this strange erro code just telling me that MissingDependency has no attribute load

here the full error

Traceback (most recent call last):
  File "/app/run.py", line 62, in <module>
    main()
  File "/app/run.py", line 11, in main
    document_store = FAISSDocumentStore.load(index_path="data/" + language_data + "_data.faiss",
AttributeError: type object 'MissingDependency' has no attribute 'load'

and my dockerfile

# Python version on the development machine
FROM python:3.9.12
FROM ubuntu:latest
# Create an app directory
RUN mkdir /app

# Copy the app to the app directory
COPY .…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@danielbichuetti
Comment options

@ghost
Comment options

@danielbichuetti
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant