pfs_split_exposures.py command not found

In this troubleshooting guide we learn how to fix pfs_split_exposures.py command not found error message

Introduction

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

pfs_split_exposures.py: command not found

or when using sudo you get the following error message

sudo: pfs_split_exposures.py: command not found

Solutions to pfs_split_exposures.py: command not found

How To Fix pfs_split_exposures.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pfs_split_exposures.py is provided by pfstools package.

pfstools is:

pfstools is a set of command line (and two GUI) programs for reading, writing, manipulating and viewing high-dynamic range (HDR) images and video frames. All programs in this package exchange data using a simple generic file format (pfs) for HDR data. It is an attempt to integrate existing file formats by providing a simple data format that can be used to exchange data between applications.

The concept of pfstools is similar to netpbm for low-dynamic range images.

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

sudo apt-get -y install pfstools

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

You can also use apt command to install pfstools.

sudo apt -y install pfstools

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

sudo aptitude install pfstools

Summary

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