Errors

markitdown is not recognized / command not found

Updated 2026-11-15·Upstream source ↗
Markdown view

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

Run MarkItDown through Python instead of by name.

Command
python -m markitdown --version

If it prints markitdown 0.1.9, MarkItDown is installed and only your PATH is wrong: go to cause 1. If it says No module named markitdown, go to causes 2 and 3.

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

1 python -mmarkitdown?2 pip showmarkitdown3 same Python,env active?nootherprints versionCause 1: PATHCause 2: Python0.0.1a1, older than 3.10Cause 3: other Pythonor env not activeCause 4:activation failed
Three checks, four causes. Check 1: does python -m markitdown --version print a version? If yes the cause is PATH. If no, check 2: what does pip show say? Version 0.0.1a1 means your Python is older than 3.10. Otherwise check 3: are python and pip the same installation and is the environment active? If not, the cause is a different Python or an inactive environment; activation can also fail silently on PowerShell.
RunYou seeIt means
python -m markitdown --versiona versionCause 1: only PATH is wrong
python -m pip show markitdownVersion: 0.0.1a1Cause 2: your Python is older than 3.10
python -m pip --version and pip --versiontwo different paths, or the environment is not activeCause 3: another Python or no environment
Command
python -m pip show -f markitdown

Cause 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:

markitdown 0.1.9 installed · Windows Server 2025 runner · Python 3.13 · 2026-11-15
$ 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.

raw log

markitdown 0.1.9 installed · Ubuntu 24.04 runner · Python 3.13 · 2026-11-15
$ 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.

raw log

markitdown 0.1.9 installed · macOS 26 runner · Python 3.13 · 2026-11-15
$ 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.

raw log

The folder differs per system, Python and user, so do not copy anyone's path: read it from that warning, or ask Python.

Command
python -c "import sysconfig;print(sysconfig.get_path('scripts','nt_user'))"

Windows

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:

markitdown not found · PowerShell 7.6 · Windows runner · 2026-11-15
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.

raw log

markitdown not found · Windows PowerShell 5.1 · Windows runner · 2026-11-15
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

raw log

markitdown not found · Command Prompt · Windows runner · 2026-11-15
$ markitdown --version
$ markitdown --version
'markitdown' is not recognized as an internal or external command,
operable program or batch file.

raw log

For this window only, add the folder and try again. This worked in our runs (the command was found, with the same version):

Command
$env:PATH = "<scripts folder>;$env:PATH"
markitdown --version

To 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 not found · zsh 5.9 · Ubuntu 24.04 runner · 2026-11-15
$ markitdown --version
$ markitdown --version
zsh:1: command not found: markitdown

raw log

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 not found · bash · Ubuntu 24.04 runner · 2026-11-15
$ markitdown --version
$ markitdown --version; echo; type markitdown
bash: line 1: markitdown: command not found

bash: line 1: type: markitdown: not found

raw log

markitdown not found · fish · Ubuntu 24.04 runner · 2026-11-15
$ markitdown --version
$ markitdown --version
fish: Unknown command: markitdown
fish: 
markitdown --version
^~~~~~~~~^

raw log

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.

markitdown 0.1.9 · Ubuntu 24.04 runner · same table with the plain command · 2026-11-15
$ python3 -m markitdown csv-semicolon.csv
| id;name;city |
| --- |
| 1;Zoë;Zürich |
| 2;Łukasz;Kraków |

raw log

markitdown 0.1.9 / not installed · PowerShell 7.6 · Windows runner · python is 3.13, py is 3.15 · 2026-11-15
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

raw log

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.

markitdown 0.0.1a1 installed · Linux lab · Python 3.8.20 · 2026-11-15
$ 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

raw log

markitdown 0.0.1a1 installed · Linux container · Python 3.9.25 · 2026-11-15
$ 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:

  • pip and python are different installations: compare python -m pip --version with pip --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:
markitdown not found · PowerShell 7.6 · Windows runner · 2026-11-15
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.

raw log

Command
.venv\Scripts\markitdown.exe --version
markitdown 0.1.9 · PowerShell 7.6 · Windows runner · 2026-11-15
PS> .\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

raw log

  • Installed in conda base but running outside it; installed with sudo; 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:

Command
.venv\Scripts\Activate.ps1

If 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

ShellMessage
Command Prompt'markitdown' is not recognized as an internal or external command, operable program or batch file.
Windows PowerShell 5.1markitdown : The term 'markitdown' is not recognized as the name of a cmdlet, function, script file, or operable program.
PowerShell 7The term 'markitdown' is not recognized as a name of a cmdlet, function, script file, or executable program.
bashbash: markitdown: command not found
zshzsh:1: command not found: markitdown
fishfish: 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.