ncsuarc / ids

Interface for IDS machine vision cameras
Other
42 stars 34 forks source link

Installation error for numpy #16

Closed ghost closed 4 years ago

ghost commented 7 years ago

I get the below error during installation procedure though numpy is installed and works fine:

running install running buildrunning build_py running build_ext building 'ids_core' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c ids_core/ids_core.c -o build/temp.linux-x86_64-2.7/ids_core/ids_core.o -std=gnu99 -g3 ids_core/ids_core.c:34:31: fatal error: numpy/arrayobject.h: No such file or directory

include <numpy/arrayobject.h>

                           ^

compilation terminated.

Perseus101 commented 7 years ago

Did you install numpy through pip or apt? You need to install it through apt for the headers to be installed properly.

On Sat, Jul 8, 2017, 11:45 luaGeeko notifications@github.com wrote:

I get the below error during installation procedure though numpy is installed and works fine:

running install running buildrunning build_py running build_ext building 'ids_core' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c ids_core/ids_core.c -o build/temp.linux-x86_64-2.7/ids_core/ids_core.o -std=gnu99 -g3 ids_core/ids_core.c:34:31: fatal error: numpy/arrayobject.h: No such file or directory

include <numpy/arrayobject.h>

^ compilation terminated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ncsuarc/ids/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AHjy0lAgUfZJu2t522Q7TNsO2y-AkZa0ks5sL6QzgaJpZM4ORyRm .

ghost commented 7 years ago

Thank you! it worked perfectly.