在Ubuntu上使用pip3安装Numpy-错误“命令失败,退出状态为1”

时间:2019-08-22 11:08:05

标签: numpy ubuntu pip

我已经在Ubuntu上安装了pip3。但是在使用它安装numpy时(使用命令'pip3 install numpy'),我收到以下错误-

error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ibuild/src.linux-x86_64-3.5/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-x86_64-3.5/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/usr/include/python3.5m -Ibuild/src.linux-x86_64-3.5/numpy/core/src/common -Ibuild/src.linux-x86_64-3.5/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.5/numpy/core/src/common -Ibuild/src.linux-x86_64-3.5/numpy/core/src/npymath -c build/src.linux-x86_64-3.5/numpy/core/src/npysort/radixsort.c -o build/temp.linux-x86_64-3.5/build/src.linux-x86_64-3.5/numpy/core/src/npysort/radixsort.o -MMD -MF build/temp.linux-x86_64-3.5/build/src.linux-x86_64-3.5/numpy/core/src/npysort/radixsort.o.d" failed with exit status 1

对于类似的错误,我找不到任何答案。有人可以帮助解决这个错误吗?

0 个答案:

没有答案