3

I'm trying to install numpy in Termux in Android and I'm getting this error :

ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

I tried

apt update && apt upgrade

And got this error :

 CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/lib/apt/methods/https": library "libssl.so.1.1" not found

The second error happened the second time i run apt update && apt upgrade is there any solution?

1 Answer 1

4

There was a recent discussion on this subject.

To install the up to date version of numpy (1.22.4), simply run

MATHLIB="m" pip install numpy

And numpy wheel will be build normally.

Your second error (with [...]/https) seems an Internet connection problem, but not sure.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .