Chinese-LangChain icon indicating copy to clipboard operation
Chinese-LangChain copied to clipboard

requirements.txt

Open tiejiang8 opened this issue 1 year ago • 0 comments

python main.py时报错: │ D:\miniconda3\envs\langcn\lib\site-packages\unstructured\partition\pdf.py:5 in │ │ │ │ 2 from io import StringIO │ │ 3 from typing import BinaryIO, List, Optional, cast │ │ 4 │ │ ❱ 5 from pdfminer.pdfpage import PDFPage, PDFTextExtractionNotAllowed │ │ 6 from pdfminer.utils import open_filename │ │ 7 │ │ 8 from unstructured.documents.elements import Element, ElementMetadata, PageBreak │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ModuleNotFoundError: No module named 'pdfminer'

库文件调整为 unstructured[local-inference] 不报错了

tiejiang8 avatar May 04 '23 10:05 tiejiang8