错误:无法为使用PEP 517且无法直接安装的Numpy构建轮子

时间:2020-08-17 15:40:52

标签: python numpy pip

大约一个星期以来,我一直在尝试将numpy安装到Galileo板上的python设置上,这是我遇到的最新错误:

(详细输出)

error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 
-Ibuild/src.linux-i586-3.6/numpy/core/src/umath -Ibuild/src.linux-i586-3.6/numpy/core/src/npymath 
-Ibuild/src.linux-i586-3.6/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-i586-3.6/numpy/core/include/numpy
-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath 
-Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort 
-I/home/root/python3.6/include/python3.6m -Ibuild/src.linux-i586-3.6/numpy/core/src/common 
-Ibuild/src.linux-i586-3.6/numpy/core/src/npymath -c build/src.linux-i586-3.6/numpy/core/src/umath/loops.c
-o build/temp.linux-i586-3.6/build/src.linux-i586-3.6/numpy/core/src/umath/loops.o -MMD -MF build/temp.linux-i586-3.6/build/src.linux-i586-3.6/numpy/core/src/umath/loops.o.d -std=c99" failed with exit status 4


Building wheel for numpy (PEP 517) ... error
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly

其他详细信息:

  • python版本:3.6
  • 点:20.2.2
  • 滚轮:0.35.1

0 个答案:

没有答案