Skip to content

facing problem in partition_pdf #3873

Open
@Rittik003

Description

@Rittik003

from unstructured.partition.pdf import partition_pdf after doing this

error:

Cell In[7], line 1
----> 1 from unstructured.partition.pdf import partition_pdf

File c:\Users\ASUS\anaconda3\Lib\site-packages\unstructured\partition\pdf.py:17
15 from pdfminer.layout import LTContainer, LTImage, LTItem, LTTextBox
16 from pdfminer.utils import open_filename
---> 17 from pi_heif import register_heif_opener
18 from PIL import Image as PILImage
19 from pypdf import PdfReader

ModuleNotFoundError: No module named 'pi_heif'

then i have done this
!pip install "unstructured[all-docs]"

Now getting this error
ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions