Install Numpy in Termux |  hot online

Install Numpy in Termux | hot online

In the Termux console I wanted the Python module Numpy with the command pipenv install numpy to install. However, this fails with the following error message: SystemError: One of the required function to build numpy is not available (the list is ['sin', 'cos', 'tan', 'sinh', 'cosh', 'tanh', 'fabs', 'floor', 'ceil', 'sqrt', 'log10', 'log', 'exp', 'asin', 'acos', 'atan', 'fmod', 'modf', 'frexp', 'ldexp']) Why are there no functions?

More from c't magazine

The error occurs because the installation routine in Termux does not link against libm. But that can be fixed by setting the environment variable MATHLIB sets by hand. You can do this by simply writing them in front of the installation command:

bash MATHLIB="m" pipenv install numpy

Then all the math functions should be available.

(pmk)

To home page

The most anticipated series of 2023 Previous post The most anticipated series of 2023
Briefly about Starlink - the most important thing you need to know about the "Internet from Elon Musk" Next post Briefly about Starlink – the most important thing you need to know about the “Internet from Elon Musk”