Reproduced by us
ImportError: cannot import name 'MarkItDown' from partially initialized module 'markitdown' (most likely due to a circular import)
Your own file is called markitdown.py (or sits in a folder called markitdown), so Python imports it instead of the library. The wording depends on the Python version: 3.10 to 3.12 say 'partially initialized module', 3.13 and later suggest renaming the file.
Fix
- Rename the file (and delete its __pycache__ folder), then run again.
- Check where Python found the module: python -c "import markitdown; print(markitdown.__file__)"