bumps command not found

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

Introduction

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

bumps: command not found

or when using sudo you get the following error message

sudo: bumps: command not found

Solutions to bumps: command not found

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

In Ubuntu bumps is provided by python3-bumps package.

python3-bumps is:

Bumps is a set of routines for curve fitting and uncertainty analysis from a Bayesian perspective. In addition to traditional optimizers which search for the best minimum they can find in the search space, bumps provides uncertainty analysis which explores all viable minima and finds confidence intervals on the parameters based on uncertainty in the measured values. Bumps has been used for systems of up to 100 parameters with tight constraints on the parameters. Full uncertainty analysis requires hundreds of thousands of function evaluations, which is only feasible for cheap functions, systems with many processors, or lots of patience.

Bumps includes several traditional local optimizers such as Nelder-Mead simplex, BFGS and differential evolution. Bumps uncertainty analysis uses Markov chain Monte Carlo to explore the parameter space. Although it was created for curve fitting problems, Bumps can explore any probability density function, such as those defined by PyMC. In particular, the bumps uncertainty analysis works well with correlated parameters.

Bumps can be used as a library within your own applications, or as a framework for fitting, complete with a graphical user interface to manage your models.

This package installs the library for Python 3.

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

sudo apt-get -y install python3-bumps

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

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

sudo apt -y install python3-bumps

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

sudo aptitude install python3-bumps

Summary

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