Skip to content

onnxruntime dll import error #1266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
t-kalinowski opened this issue May 23, 2025 · 2 comments
Open

onnxruntime dll import error #1266

t-kalinowski opened this issue May 23, 2025 · 2 comments

Comments

@t-kalinowski
Copy link
Contributor

t-kalinowski commented May 23, 2025

Attempting to run convert on Windows 11, I see:

DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.

It looks like markitdown is not the only package experiencing this issue:
spinalcordtoolbox/spinalcordtoolbox#4905 (comment)

I think the onnxruntime version might need to be pinned until this is fixed upstream.
(onnxruntime is a dependency of magika)

@cephyn
Copy link

cephyn commented May 25, 2025

Yup seeing this too!

@joshuacwnewton
Copy link

Hi there! I see you've tagged our spinalcordtoolbox issue. Just to give some additional context, I had also reported this upstream here:

It seems to do with the version of MSVC Runtime that is installed. Try updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants