Find answers from the community

Updated 3 months ago

Hi -

Hi -
SimpleDirectoryReader error message not very clear on what dependency is missing.

When using SimpleDirectoryReader to load a PDF file, I'm getting a dependency error but not sure if is for Linux or Python. Has anyone seen this before?

from llama_index.core import SimpleDirectoryReader loader = SimpleDirectoryReader(input_dir="./data") documents = loader.load_data()

Failed to load file /home/ubuntu/.../data/digital-piano.pdf with error: RetryError[<Future at 0x... state=finished raised DependencyError
w
1 comment
All good - @dosu - the missing dependency was:
pip install pymupdf pdfminer.six
Thanks for your help!
Add a reply
Sign up and join the conversation on Discord