小编Vad*_*Sim的帖子

为什么在 Termux 中安装 numpy 时 pip 会抛出错误?

我正在 Termux 中安装 numpy。当我运行时pip install numpy --no-cache-dir,错误是:

File "/data/data/com.termux/files/usr/tmp/pip-install-ywfqxfk8/numpy_cf9d5c136bf14c7f9ce4181f190e4581/numpy/core/setup.py", line 171, in check_math_capabilities
          raise SystemError("One of the required function to build numpy is not"
      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']).
Run Code Online (Sandbox Code Playgroud)

有完整的输出: https: //pastebin.com/ExnbqtDc。为什么会发生这种情况以及如何解决?


软件包wheel和setuptools已安装。

terminal android python pip installation

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×1

installation ×1

pip ×1

python ×1

terminal ×1