Installation¶
Basic Installation¶
Install Truthound using pip:
This installs the core package with all essential features.
Optional Dependencies¶
Truthound provides optional extras for specific use cases:
Reports (HTML/PDF)¶
Enables HTML report generation with Jinja2.
Drift Detection¶
Enables statistical drift detection with SciPy.
Anomaly Detection¶
Enables ML-based anomaly detection with scikit-learn.
Cloud Storage¶
# AWS S3
pip install truthound[s3]
# Google Cloud Storage
pip install truthound[gcs]
# Azure Blob Storage
pip install truthound[azure]
# All cloud providers
pip install truthound[stores]
Streaming¶
Full Installation¶
Install all optional dependencies:
Development¶
For development with testing tools:
Verification¶
Verify your installation:
Expected output:
Troubleshooting¶
Common Issues¶
ModuleNotFoundError: No module named 'truthound'¶
Ensure you've installed Truthound:
Permission Errors¶
Use a virtual environment:
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows
pip install truthound
Polars Installation Issues¶
Polars requires a Rust-compatible system. On older systems: