Installation

Create an environment

To avoid possible dependency conflicts, we recommend installing Reactix in a dedicated environment. Reactix requires Python 3.11 or later.

You can create an environment:

with uv:

uv venv reactix-env
source reactix-env/bin/activate  # Linux/macOS
reactix-env\Scripts\activate     # Windows

with conda:

conda create -n reactix python=3.13
conda activate reactix

or alternatively with venv:

python -m venv reactix-env
source reactix-env/bin/activate   # Linux/macOS
reactix-env\Scripts\activate      # Windows

Activate the environment before installing the package.

Note

If you don’t have uv installed, you can get it with:

# Linux/macOS
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Or via pip
pip install uv

Install Reactix

To install the package you can use conda, pip or uv. The package is available on PyPI and conda-forge.

uv (from PyPI):

uv pip install reactix

conda (from conda-forge):

conda install -c conda-forge reactix

pip (from PyPI):

pip install reactix

Dependencies

Reactix depends on JAX, diffrax, and PyMC. These are installed automatically when installing Reactix via pip, uv, or conda.

JAX and GPU support: GPU support integration is considered for a future release. Currently, Reactix can only be used with CPU-based JAX installations.

Back to top