mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-15 09:23:57 +00:00
Add Proper Import Error (#13042)
- **Description:** The issue was not listing the proper import error for amazon textract loader. - **Issue:** Time wasted trying to figure out what to install... (langchain docs don't list the dependency either) - **Dependencies:** N/A - **Tag maintainer:** @sbusso - **Twitter handle:** @h9ste --------- Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
This commit is contained in:
parent
06c503f672
commit
37561d8986
@ -476,8 +476,10 @@ class AmazonTextractPDFParser(BaseBlobParser):
|
|||||||
self.textract_features = []
|
self.textract_features = []
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise ImportError(
|
raise ImportError(
|
||||||
"Could not import amazon-textract-caller python package. "
|
"Could not import amazon-textract-caller or "
|
||||||
"Please install it with `pip install amazon-textract-caller`."
|
"amazon-textract-textractor python package. Please install it "
|
||||||
|
"with `pip install amazon-textract-caller` & "
|
||||||
|
"`pip install amazon-textract-textractor`."
|
||||||
)
|
)
|
||||||
|
|
||||||
if not client:
|
if not client:
|
||||||
|
Loading…
Reference in New Issue
Block a user