Requirements
Python 3.9 support was dropped in Docling version 2.70.0. Python 3.10 or higher is required.
- Python 3.10
- Python 3.11
- Python 3.12
- Python 3.13
- Python 3.14
System compatibility
- macOS (x86_64 and Apple Silicon arm64)
- Linux (x86_64 and arm64)
- Windows (x86_64)
Basic installation
Using pip
The simplest way to install Docling is via pip:Using uv
uv is a fast Python package installer. Install Docling with:Using conda
If you use conda for package management:Optional dependencies
Docling offers several optional feature sets that you can install based on your needs.OCR engines
For enhanced OCR capabilities, install one or more OCR backends:- EasyOCR
- Tesseract OCR
- macOS Vision
- RapidOCR
EasyOCR supports 80+ languages with deep learning models:
Visual Language Models (VLM)
Use Visual Language Models for enhanced document understanding:Audio processing
For audio and video file processing with Automatic Speech Recognition:XBRL financial documents
To process XBRL (eXtensible Business Reporting Language) documents:GPU acceleration
For GPU-accelerated inference (Linux with CUDA):onnxruntime-gpu for faster model inference on NVIDIA GPUs.
Combined installation
Install multiple optional features together:Verify installation
After installation, verify that Docling is working correctly:Troubleshooting
Installation issues
Python version error
Python version error
If you see errors about Python version:Upgrade to Python 3.10 or higher. Check your version with:
Dependency conflicts
Dependency conflicts
If you encounter dependency conflicts, try installing in a fresh virtual environment:
Missing system dependencies
Missing system dependencies
Some optional features require system libraries:For Tesseract on Ubuntu/Debian:For Tesseract on macOS:
Apple Silicon compatibility
Apple Silicon compatibility
On Apple Silicon Macs (M1, M2, M3), ensure you’re using native arm64 Python:Should output
arm64. If it shows x86_64, you’re running Rosetta Python.Network issues
Docling downloads AI models from Hugging Face on first use. If you’re behind a firewall:-
Set proxy environment variables:
-
Pre-download models to a local cache and set
HF_HOME: - Use air-gapped environments by copying the cache directory to offline systems.
Development installation
To contribute to Docling or use the latest development version:Next steps
Quick start
Convert your first document with a complete example
Basic conversion
Learn the fundamentals of document conversion
CLI usage
Use Docling from the command line
Configuration
Configure pipelines and customize behavior