dipy_track_pft command not found

In this troubleshooting guide we learn how to fix dipy_track_pft command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

dipy_track_pft: command not found

or when using sudo you get the following error message

sudo: dipy_track_pft: command not found

Solutions to dipy_track_pft: command not found

How To Fix dipy_track_pft: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dipy_track_pft is provided by python3-dipy package.

python3-dipy is:

DIPY is a software project for computational neuroanatomy. It focuses on diffusion magnetic resonance imaging (dMRI) analysis and tractography but also contains implementations of other computational imaging methods such as denoising and registration that are applicable to the greater medical imaging and image processing communities. Additionally, DIPY is an international project which brings together scientists across labs and countries to share their state-of-the-art code and expertise in the same codebase, accelerating scientific research in medical imaging.

Here are some of the highlights:

  • Reconstruction algorithms: CSD, DSI, GQI, DTI, DKI, QBI, SHORE and MAPMRI
  • Fiber tracking algorithms: deterministic and probabilistic
  • Native linear and nonlinear registration of images
  • Fast operations on streamlines (selection, resampling, registration)
  • Tractography segmentation and clustering
  • Many image operations, e.g., reslicing or denoising with NLMEANS
  • Estimation of distances/correspondences between streamlines and connectivity matrices
  • Interactive visualization of streamlines in the space of images

This package contains the Python 3 version.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-dipy

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-dipy.

sudo apt -y install python3-dipy

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-dipy

Summary

In this tutorial we learn how to fix dipy_track_pft command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.