Installation
Install pyINLA and download the INLA binary for your platform.
Install the Python package
pip install pyinla
We recommend using a virtual environment (uv, conda, or venv) to keep dependencies isolated.
The INLA binary
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, matched to your operating system and processor architecture.
Recommended: Download the binary explicitly before fitting models, especially in Jupyter notebooks or Docker containers, so any network issues are caught early.
Download the binary
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 bundle for your operating system and processor architecture. Each entry points at the newest engine release on GitHub, so an install always fetches the current build and there is no pinned version to go stale.
To force a re-download (e.g. to update to a newer version):
pyinla.download_binary(force=True)
Supported platforms: Linux x86-64, Linux arm64 (armv8.2 or newer), macOS Intel, macOS Apple Silicon, and Windows x86-64.
Changelog
Version history and updates for pyINLA.
v0.1.19 Latest November 2026
Mesh checks, mesh plots and fm_int.
v0.1.18 November 2026
Zero-inflated families, the fbym2 model and a choice of memory allocator.
v0.1.13 October 2026
Python 3.13 wheels, numpy 2.x and the copy feature.
v0.1.11 September 2026
Non-separable space-time models, the sTiles solver and replicate for rw1 and rw2.
v0.1.8 May 2026
Engine 26.05.10, wider link support and verified downloads.
v0.1.6 March 2026
Initial public release.