Description
Describe the bug
from unstructured.partition.pdf import partition_pdf
if name == "main":
txt = partition_pdf(filename=r'E:\ideaproj\test_doc\test_pdf\test_pdf_01.pdf', strategy='fast')
print(txt)
my strategy='fast'
Here is the translated content:
I don't need it, but whenever I from unstructured.partition.pdf import partition_pdf,
it raises
File "D:\anaconda3\envs\mytest-llamaindex\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.
To Reproduce
Provide a code snippet that reproduces the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Info
Please run python scripts/collect_env.py
and paste the output here.
This will help us understand more about the environment in which the bug occurred.
Additional context
Add any other context about the problem here.