文档
注册

pip3 install numpy报错

问题描述

安装依赖时,使用pip3 install numpy命令安装时报错“Could not build wheels for numpy which use PEP 517 and cannot be install directly”,提示信息如下:

可能原因

centos等系统默认安装的gcc版本较低,导致numpy安装失败。

解决方法

执行如下命令安装:

export CFLAGS=-std=c99
pip3 install numpy==1.17.2
搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词