Skip to content

Installation

How to install scinexus and its optional extras for parallel execution, progress bars, and MPI support.

Basic install

pip install scinexus

Optional extras

  • pip install "scinexus[loky]" -- uses the loky library for parallel execution. Loky provides reusable process pools that are more robust than the stdlib ProcessPoolExecutor, particularly in Jupyter notebooks where standard multiprocessing can fail. Recommended for interactive and notebook-based workflows.
  • pip install "scinexus[rich]" -- also installs the rich package for its progress bars (see using rich)
  • pip install "scinexus[mpi]" -- MPI parallel execution via mpi4py

You can combine extras:

pip install "scinexus[loky,rich]"

Requirements

  • Python 3.11+

Verify installation

import scinexus

print(scinexus.__version__)