Errors
markitdown is not recognized / command not found
Windows says 'markitdown' is not recognized; bash, zsh and fish say command not found. MarkItDown can be installed correctly and still not be runnable, and there are four causes that three commands tell apart. We reproduced each one on Windows, macOS and Linux machines, with exact messages.
Short answer
Tested with markitdown 0.1.9 · Python Windows Server 2025, Ubuntu 24.04, macOS 26 · PowerShell 7.6, Windows PowerShell 5.1, Command Prompt, bash, zsh, fish · Python 3.13 (GitHub runners), Python 3.8 (Linux lab) · 2026-11-15 · evidence: windows-latest.log, ubuntu-latest.log, macos-latest.log, python38-lab.log
Find your cause in one minute
| Run | You see | It means |
|---|---|---|
python -m markitdown --version | a version | Cause 1: only PATH is wrong |
python -m pip show markitdown | Version: 0.0.1a1 | Cause 2: your Python is older than 3.10 |
python -m pip --version and pip --version | two different paths, or the environment is not active | Cause 3: another Python or no environment |
python -m pip show -f markitdownpython3 -m pip show -f markitdownCause 1: the scripts folder is not on your PATH
pip puts the markitdown launcher in a scripts folder, separate from the package. If that folder is not on PATH your shell cannot find the launcher, while python -m markitdown still works. pip tells you at the end of the install, in a warning that scrolls past:
$ python -m pip install --user markitdown
WARNING: The script markitdown.exe is installed in 'C:\Users\runneradmin\AppData\Roaming\Python\Python313\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. $ python3 -m pip install --user markitdown
WARNING: The script markitdown is installed in '/home/runner/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. $ python3 -m pip install --user markitdown
WARNING: The script markitdown is installed in '/Users/runner/Library/Python/3.13/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. The folder differs per system, Python and user, so do not copy anyone's path: read it from that warning, or ask Python.
python -c "import sysconfig;print(sysconfig.get_path('scripts','nt_user'))"python3 -m site --user-baseWindows
The scripts folder for a per-user install is under %APPDATA%\Python. With the folder missing from PATH these are the messages, in all three shells:
PS> markitdown --version
$ markitdown --version
markitdown: D:\a\work\work\results\windows\_c_not_recognized_pwsh7.ps1:1
Line |
1 | markitdown --version
| ~~~~~~~~~~
| The term 'markitdown' is not recognized as a name of a cmdlet, function, script file, or executable program.
| Check the spelling of the name, or if a path was included, verify that the path is correct and try again. PS> markitdown --version
$ markitdown --version
markitdown : The term 'markitdown' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At D:\a\work\work\results\windows\_c_not_recognized_ps5.ps1:1 char:1
+ markitdown --version
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (markitdown:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException $ markitdown --version
$ markitdown --version
'markitdown' is not recognized as an internal or external command,
operable program or batch file. For this window only, add the folder and try again. This worked in our runs (the command was found, with the same version):
$env:PATH = "<scripts folder>;$env:PATH"
markitdown --versionexport PATH="$(python3 -m site --user-base)/bin:$PATH"
markitdown --versionTo make it permanent add the folder in Settings, System, About, Advanced system settings, Environment Variables, user variable Path, and then open a new terminal: a window that was already open keeps the old PATH. We could not capture or test that dialog on our machines, so we do not show screenshots of it.
macOS
For the python.org and Apple Pythons the per-user folder is Library/Python/<version>/bin in your home folder, not .local/bin: the same fix command as above, which uses Python's own answer, handled it. Homebrew's Python refuses plain pip install with externally-managed-environment (the macOS page). The zsh message:
$ markitdown --version
$ markitdown --version
zsh:1: command not found: markitdown Linux and WSL
The folder is ~/.local/bin, which many distributions only add to PATH at your next login. On Debian and Ubuntu pip may refuse to install at all; that is a different error. The messages in bash and fish:
$ markitdown --version
$ markitdown --version; echo; type markitdown
bash: line 1: markitdown: command not found
bash: line 1: type: markitdown: not found $ markitdown --version
$ markitdown --version
fish: Unknown command: markitdown
fish:
markitdown --version
^~~~~~~~~^ The fix that needs no PATH editing
Keep using python -m markitdown. It starts the same program: converting a CSV file both ways gave the same table.
$ python3 -m markitdown csv-semicolon.csv
| id;name;city |
| --- |
| 1;Zoë;Zürich |
| 2;Łukasz;Kraków | PS> python -m markitdown --version; py -m markitdown --version
$ python -m markitdown --version; py -m markitdown --version
markitdown 0.1.9
C:\hostedtoolcache\windows\Python\3.15.2\x64\python.exe: No module named markitdown Cause 2: your Python is older than 3.10, and pip installed an empty package
On Python 3.8 and 3.9 pip install "markitdown[all]" reports success, prints WARNING: markitdown 0.0.1a1 does not provide the extra 'all', installs a 2.6 kB package from 2024 and creates no command. We reproduced it on 3.8.20 and 3.9, and on Apple's own Python 3.9.6.
$ pip install "markitdown[all]" (Python 3.8)
$ python --version
Python 3.8.20
$ pip install "markitdown[all]"
Collecting markitdown[all]
Downloading markitdown-0.0.1a1-py3-none-any.whl (2.6 kB)
WARNING: markitdown 0.0.1a1 does not provide the extra 'all'
Installing collected packages: markitdown
Successfully installed markitdown-0.0.1a1
exit=0
$ pip list | grep -i markitdown
markitdown 0.0.1a1
$ markitdown --version $ pip install "markitdown[all]"
$ pip install --no-cache-dir "markitdown[all]"
Collecting markitdown[all]
Downloading markitdown-0.0.1a1-py3-none-any.whl (2.6 kB)
WARNING: markitdown 0.0.1a1 does not provide the extra 'all'
Installing collected packages: markitdown
Successfully installed markitdown-0.0.1a1
exit=0
$ pip list | grep -i markitdown
markitdown 0.0.1a1
$ markitdown --version
/bin/bash: line 1: /tmp/claude-0/edge3.9/bin/markitdown: No such file or directory raw log · pip exits 0; no command is created
This is observed behaviour of pip with this package, not a bug in either: every real release needs Python 3.10 or newer, so pip falls back to the only release that does not say so. Check with pip show (above): the version line says 0.0.1a1. The fix is a newer Python: 3.10 to 3.13 are safe, and the install page explains the upper limit, because Python 3.15 produces a similar silent fallback.
Cause 3: installed into a different Python, or an environment that is not active
Symptoms: pip show finds MarkItDown but python -m markitdown does not, or the reverse. Typical cases, each with its check:
pipandpythonare different installations: comparepython -m pip --versionwithpip --version. In our run they pointed at a virtual environment and the main Python.- The environment exists but is not active in this window. The launcher is in the environment, so nothing is found by name:
PS> markitdown --version (venv created, not activated)
markitdown: D:\a\work\work\results\windows\_c_venv_not_active_pwsh.ps1:1
Line |
1 | … nstall -q markitdown 2>&1 | Select-Object -Last 1; markitdown --versi …
| ~~~~~~~~~~
| The term 'markitdown' is not recognized as a name of a cmdlet, function, script file, or executable program.
| Check the spelling of the name, or if a path was included, verify that the path is correct and try again. .venv\Scripts\markitdown.exe --version.venv/bin/markitdown --versionPS> .\v\Scripts\markitdown.exe --version
$ .\v\Scripts\markitdown.exe --version; "--- active:"; .\v\Scripts\Activate.ps1; markitdown --version; (Get-Command markitdown).Source
markitdown 0.1.9
--- active:
markitdown 0.1.9
D:\a\work\work\v\Scripts\markitdown.exe - Installed in conda
basebut running outside it; installed withsudo; an editor terminal using another interpreter. We did not test these three.
Cause 4: activation failed and you did not notice
On PowerShell the bash line from tutorials fails with a CommandNotFoundException, and a locked-down machine refuses the activation script. The correct activation line per shell:
.venv\Scripts\Activate.ps1.venv\Scripts\activate.batsource .venv/bin/activateIf PowerShell says that running scripts is disabled, allow it for the current window only (the exact message and one-line fix are on the Windows page). Never change the machine-wide policy.
uvx: command not found and markitdown-mcp is not recognized
uvx missing means uv is not installed or its folder is not on PATH: same diagnosis as cause 1, different folder (uv tool update-shell adds it). markitdown-mcp missing means the separate MCP package is not installed. If the message comes from an AI app's log rather than your terminal, the app does not inherit your shell's PATH (MCP troubleshooting).
Skip the problem: installers that manage PATH
uv tool install, pipx and uvx put the command on PATH (or run it without installing). All three passed on Windows, macOS and Linux; the commands that name Python 3.13 are in the command builder.
The exact messages
| Shell | Message |
|---|---|
| Command Prompt | 'markitdown' is not recognized as an internal or external command, operable program or batch file. |
| Windows PowerShell 5.1 | markitdown : The term 'markitdown' is not recognized as the name of a cmdlet, function, script file, or operable program. |
| PowerShell 7 | The term 'markitdown' is not recognized as a name of a cmdlet, function, script file, or executable program. |
| bash | bash: markitdown: command not found |
| zsh | zsh:1: command not found: markitdown |
| fish | fish: Unknown command: markitdown |
We captured these on the runners; Windows in another display language prints the same message in that language, which we did not test.
Check that it is fixed
In a new terminal run markitdown --version; it prints markitdown 0.1.9. Then convert a file: report.docx needs the docx extra (pip install "markitdown[docx]", or install everything), and the plain command and python -m markitdown give the same result. More errors: the error index; first steps: the quickstart.