amp-plotconvergence command not found

In this troubleshooting guide we learn how to fix amp-plotconvergence command not found error message

Introduction

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

amp-plotconvergence: command not found

or when using sudo you get the following error message

sudo: amp-plotconvergence: command not found

Solutions to amp-plotconvergence: command not found

How To Fix amp-plotconvergence: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu amp-plotconvergence is provided by python3-amp package.

python3-amp is:

Amp is an open-source package designed to easily bring machine-learning to atomistic calculations. This project is being developed at Brown University in the School of Engineering, primarily by Andrew Peterson and Alireza Khorshidi, and is released under the GNU General Public License. Amp allows for the modular representation of the potential energy surface, allowing the user to specify or create descriptor and regression methods.

Amp is designed to integrate closely with the Atomic Simulation Environment (ASE). As such, the interface is in pure python, although several compute-heavy parts of the underlying code also have fortran versions to accelerate the calculations. The close integration with ASE means that any calculator that works with ASE ─ including EMT, GPAW, DACAPO, VASP, NWChem, and Gaussian ─ can easily be used as the parent method.

This package provides the python 3 modules.

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

sudo apt-get -y install python3-amp

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

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

sudo apt -y install python3-amp

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

sudo aptitude install python3-amp

Summary

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