pymcapostbatch command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pymcapostbatch: command not found
or when using sudo you get the following error message
sudo: pymcapostbatch: command not found
Solutions to pymcapostbatch: command not found
How To Fix pymcapostbatch: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pymcapostbatch is provided by pymca package.
pymca is:
PyMca is set of applications and Python libraries for analysis of X-ray fluorescence spectra.
The applications included in this package are:
- edfviewer - Display and inspection of data files in ESRF Data Format
- elementsinfo - Displays element specific X-ray data
- mca2edf - Converts files from SPEC MCA format to EDF
- peakidentifier - Displays X-ray fluorescence peaks in a given energy range
- pymcabatch - Batch fitting of spectra
- pymcapostbatch - Post-processing of batch fitting results
- pymca - Interactive data-analysis
- pymcaroitool - Region-of-interest (ROI) imaging tool
The PyMca toolkit can read data files in SPEC, ESRF data file (EDF), OMNIC, HDF5, AIFIRA and SupaVisio formats.
This are the scripts of the package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pymca
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pymca.
sudo apt -y install pymca
Or if you have aptitude installed you can use the following command.
sudo aptitude install pymca
Summary
In this tutorial we learn how to fix pymcapostbatch command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.