如何在 OpenSUSE LEAP 15.5 上安装 numpy 开发头文件
如果你收到如下错误消息
install.txt
python/project/main.cpp:32:10: fatal error: numpy/arrayobject.h: No such file or directory
#include <numpy/arrayobject.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.在 OpenSUSE LEAP 15.5 上,你需要安装 python3-numpy-devel 包:
install_numpy_headers.sh
sudo zypper install python3-numpy-develIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow