tifffile command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tifffile: command not found
or when using sudo you get the following error message
sudo: tifffile: command not found
Solutions to tifffile: command not found
How To Fix tifffile: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tifffile is provided by python3-tifffile package.
python3-tifffile is:
Image and meta-data can be read from TIFF, BigTIFF, OME-TIFF, STK, LSM, NIH, ImageJ, MicroManager, FluoView, SEQ and GEL files.
Only a subset of the TIFF specification is supported, mainly uncompressed and losslessly compressed 2**(0 to 6) bit integer, 16, 32 and 64-bit float, grayscale and RGB(A) images, which are commonly used in bio-scientific imaging. Specifically, reading JPEG/CCITT compressed image data or EXIF/IPTC/GPS/XMP meta-data is not implemented. Only primary info records are read for STK, FluoView, MicroManager, and NIH image formats.
TIFF, the Tagged Image File Format, is under the control of Adobe Systems. BigTIFF allows for files greater than 4 GB. STK, LSM, FluoView, SEQ, GEL, and OME-TIFF, are custom extensions defined by MetaMorph, Carl Zeiss MicroImaging, Olympus, Media Cybernetics, Molecular Dynamics, and the Open Microscopy Environment consortium respectively.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-tifffile
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-tifffile.
sudo apt -y install python3-tifffile
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-tifffile
Summary
In this tutorial we learn how to fix tifffile command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.