Installation#

First, ensure that you have a recent Python installed, since Fluidimage requires Python >= 3.9. Some issues regarding the installation of Python and Python packages are discussed in the main documentation of the project.

Here, we describe installation methods that do not involve local compilation. One can also install Fluidimage from source as described here.

Install with pip#

Note

We strongly advice to install Fluidimage in a virtual environment. See the official guide Install packages in a virtual environment using pip and venv.

Fluidimage can be installed without compilation with pip:

pip install pip -U
pip install fluidimage

Optional dependencies#

Fluidimage has 2 sets of optional dependencies, which can be installed with commands like pip install fluidimage[opencv] or pip install fluidimage[opencv, pims]:

Install the conda-forge packages with conda or mamba#

We recommend installing conda and mamba (using the [conda-forge] channel) with the miniforge installer. Then, one can run:

mamba install fluidimage

One can also create a dedicated environment:

mamba create -n env_fluidimage fluidimage

The environment can then be activated with conda activate env_fluidimage.