microsoft / microsoft/markitdown
Failed Markitdown since "pip install markitdown --upgrade"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 186k
- Forks
- 13.7k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 49
Description
markitdown -h
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
AppData\Local\Programs\Python\Python312\Scripts\markitdown.exe_main.py", line 4, in
AppData\Local\Programs\Python\Python312\Lib\site-packages\markitdown_init.py", line 6, in
from .markitdown import (
AppData\Local\Programs\Python\Python312\Lib\site-packages\markitdown_markitdown.py", line 15, in
import magika
AppData\Local\Programs\Python\Python312\Lib\site-packages\magika_init.py", line 21, in
from magika import magika
AppData\Local\Programs\Python\Python312\Lib\site-packages\magika\magika.py", line 26, in
import onnxruntime as rt
AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime_init_.py", line 61, in
raise import_capi_exception
AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime_init_.py", line 24, in
from onnxruntime.capi._pybind_state import (
AppData\Local\Programs\Python\Python312\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.
===================================================================================
added PATH
AppData\Local\onnxruntime-win-x64-1.22.0\lib
AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime\capi
NOTE: Used to work , then i updated, i am just a beginner , so please spell it out
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the import chain shown in markitdown/init.py and markitdown/_markitdown.py, then reproduce the failure on Windows with Python 3.12 after upgrading markitdown. Check the onnxruntime DLL initialization error and document or fix the supported dependency setup so that markitdown -h starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100