You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/.../env/lib/python3.13/site-packages/unstructured/partition/pdf.py", line 25, in <module> import pdf2image
ModuleNotFoundError: No module named 'pdf2image'
I'd suggest using the langchain-unstructured package, as dependencies are managed there (vs. the community integration, which requires separate pip installs).
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I follow this guide on UnstructuredPDFLoader.
I am trying to use
UnstructuredPDFLoader
but.load()
throws theModuleNotFoundError: No module named 'pdf2image'
error.Expected: Running
python3 main.py
should work.Actual:
ModuleNotFoundError: No module named 'pdf2image'
System Info
Python: 3.13.0
langchain-community==0.3.14
unstructured==0.11.8
The text was updated successfully, but these errors were encountered: