dh_numpy3 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dh_numpy3: command not found
or when using sudo you get the following error message
sudo: dh_numpy3: command not found
Solutions to dh_numpy3: command not found
How To Fix dh_numpy3: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dh_numpy3 is provided by python3-numpy package.
python3-numpy is:
Numpy contains a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran code, and useful linear algebra, Fourier transform, and random number capabilities.
Numpy replaces the python-numeric and python-numarray modules which are now deprecated and shouldn’t be used except to support older software.
This package contains Numpy for Python 3.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-numpy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-numpy.
sudo apt -y install python3-numpy
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-numpy
Summary
In this tutorial we learn how to fix dh_numpy3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.