langchain_community is missing a dependency #29121
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
investigate
Flagged for investigation.
Checked other resources
Example Code
pip show langchain_community | grep Requires
Error Message and Stack Trace (if applicable)
No response
Description
langchain_community has a dependency on unstructured that is not captured. If you look at the document_loaders/unstructured.py file, you will see several imports of unstructured. It is not captured in the dependencies:
$ pip3 show langchain_community | grep Requires
Requires: SQLAlchemy, langsmith, PyYAML, dataclasses-json, tenacity, langchain-core, langchain, numpy, aiohttp, requests
Even though the system info below is RHEL 8 era, the current code shows poetry.lock does not have unstructured listed anywhere. This causes crashes on downloads.
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: