Docling ingestion fails with "easyocr not installed" error #713
-
|
My document ingestion is failing with an OCR-related error that says easyocr is missing. How do I fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Docling ingestion can fail with an OCR-related error that mentions When you invoke OpenRAG with This cache can become stale, producing errors like missing dependencies.
If you install OpenRAG with uv, dependencies are synced directly from your pyproject.toml file. This should automatically install easyocr because easyocr is included as a dependency in OpenRAG's pyproject.toml. If you don't need OCR, you can disable OCR-based processing in your ingestion settings to avoid requiring easyocr. |
Beta Was this translation helpful? Give feedback.
Docling ingestion can fail with an OCR-related error that mentions
easyocris missing. This is likely due to a staleuvcache when you install OpenRAG with uvx.When you invoke OpenRAG with
uvx openrag,uvxcreates a cached, ephemeral environment that doesn't modify your project. The location and path of this cache depends on your operating system. For example, on macOS, this is typically a user cache directory, such as~/.cache/uv.This cache can become stale, producing errors like missing dependencies.
uv cache cleanuv cache clean openraguvx openrag