Installing STIR with conda

= Installing STIR with conda =

Users of conda (Anaconda, miniconda etc) can install STIR without compilation. The following creates a conda environment which includes both STIR and matplotlib: conda config --add channels conda-forge conda config --set channel_priority strict conda create -n stirenv stir  matplotlib conda activate stirenv

OSMAPOSL some.par
 * 1) use STIR executable

python >>> import stir
 * 1) use Python

conda deactive See the conda documentation on managing environments for more information. Note that conda recommends installing all packages that you want at the same time, so you probably want to add other packages to the list above.
 * 1) deactivate the environment

This should work on Linux and Windows. A MacOS package is still pending end 2020, check current status in the relevant issue

For more details, check the STIR feedstock.