Installation#

We recommend creating a python environment that is isolated from your system python installation. This can be done using conda, and creating a virtual environment via:

conda create -n pytomography_env python=3.9
conda activate pytomography_env

Once the environment is activated, you can install PyTomography via pip:

pip install pytomography

Additional Requirements (PET / CT)#

PET and CT reconstruction require use of parallelproj. Parallelproj can be installed in the same conda environment as PyTomography via:

conda activate pytomography_env
conda install -c conda-forge libparallelproj parallelproj cupy

Note that you must include the cupy package in the installation command, as it is required to run operations on GPU in parallelproj.