Wie man numpy-Entwicklungsheader in OpenSUSE LEAP 15.5 installiert

Wenn Sie eine Fehlermeldung wie

install.txt
python/project/main.cpp:32:10: fatal error: numpy/arrayobject.h: No such file or directory
 #include <numpy/arrayobject.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

auf OpenSUSE LEAP 15.5 erhalten, müssen Sie das Paket python3-numpy-devel installieren:

install_numpy_headers.sh
sudo zypper install python3-numpy-devel

Check out similar posts by category: Linux, NumPy, Python