Installation

erwin requires Python ≥ 3.7 The easiest way to install erwin and its dependencies is through PyPi and pip: python3 -m pip install erwin

If this fails, you may need to

  • adjust the python3 executable to match your local installation

  • upgrade pip (python3 -m pip install --upgrade pip, especially on Debian ≤ 10 and Ubuntu ≤ 18.04)

  • install Cython (apt-get install -y cython3 on Debian, Ubuntu and other Debian derivatives)

  • install BLAS and LAPACK (apt-get install -y gfortran libblas-dev liblapack-dev on Debian, Ubuntu and other Debian derivatives)

Using the following methods requires additional dependencies:

  • Diffusion tensor and spherical harmonics: MRtrix; conversion from Bruker or Siemens DICOM also requires Dicomifier

  • NODDI: AMICO

  • Motion correction: ANTs

  • QSM: MEDI