Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions packages/markitdown/src/markitdown/_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

MISSING_DEPENDENCY_MESSAGE = """{converter} recognized the input as a potential {extension} file, but the dependencies needed to read {extension} files have not been installed. To resolve this error, include the optional dependency [{feature}] or [all] when installing MarkItDown. For example:

* pip install markitdown[{feature}]
* pip install markitdown[all]
* pip install markitdown[{feature}, ...]
* etc."""
* pip install "markitdown[{feature}]"
* pip install "markitdown[all]"
* pip install "markitdown[{feature}, ...]"
* etc.

Note: On zsh and PowerShell, square brackets are treated as glob/wildcard patterns. The double quotes shown above prevent this on all shells (zsh, bash, fish, PowerShell, cmd.exe)."""


class MarkItDownException(Exception):
Expand Down