v0.1.6 Latest
March 2026
Initial public release.
Install pyINLA and download the INLA binary for your platform.
pip install pyinla
We recommend using a virtual environment (uv, conda, or venv) to keep dependencies isolated.
pyINLA is a Python interface to the INLA C/C++ engine. The engine is distributed as a pre-compiled binary and must be downloaded separately after installing the Python package.
Automatic download: The binary is auto-detected and downloaded the first time you run a model. On Linux, pyINLA reads /etc/os-release to pick the correct distro-specific build automatically.
Recommended: Download the binary explicitly before fitting models, especially in Jupyter notebooks or Docker containers, so any network issues are caught early.
Run this once after pip install pyinla:
import pyinla # Auto-detect your platform and download pyinla.download_binary()
pyINLA uses a built-in manifest (binaries.json) to select the correct binary for your OS and architecture. On Linux, it reads /etc/os-release to pick a distro-specific build (Ubuntu, Fedora, Rocky, etc.).
To force a re-download (e.g. to update to a newer version):
pyinla.download_binary(force=True)
Supported distros: Ubuntu 22.04/24.04/25.04, Fedora, Rocky 8/9/10, CentOS 7, macOS (Intel and Apple Silicon), Windows. If your distro isn't listed, pyINLA uses the default Linux build.
Debian, Mint, Pop!_OS, etc.: These Ubuntu-based distros are matched automatically to the closest Ubuntu build. If auto-detection fails, use download_binary_from_url() with a specific URL from the R-INLA server (see below).
Version history and updates for pyINLA.
March 2026
Initial public release.