microsoft / microsoft/markitdown

can't import markitdown

Open
#107 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
186k
Forks
13.7k
Avg merge
1d 4h
Merged PRs (30d)
49

Description

I install markitdown in Anaconda using 'pip install markitdown',but can't import markitdown in python,
the code is:
from markitdown import MarkItDown

the Errorinfo is:
cannot import name 'MarkItDown' from 'markitdown' (c:\Users\echo\anaconda3\lib\site-packages\markitdown_init_.py)
File "C:\Practice\python\test_markitdown.py", line 6, in
from markitdown import MarkItDown
ImportError: cannot import name 'MarkItDown' from 'markitdown' (c:\Users\echo\anaconda3\lib\site-packages\markitdown_init_.py)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in the Anaconda environment using test_markitdown.py and the shown import statement. Inspect the installed markitdown package at site-packages\markitdown_init_.py and compare the available import entry point with the documented package behavior; done means the reported import works after a supported installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.