alexgkendall / caffe-segnet

Implementation of SegNet: A Deep Convolutional Encoder-Decoder Architecture for Semantic Pixel-Wise Labelling
http://mi.eng.cam.ac.uk/projects/segnet/
Other
1.08k stars 452 forks source link

make pycaffe error #72

Open ALISCIFP opened 8 years ago

ALISCIFP commented 8 years ago

When I run make pycaffe, it shows errors as follfows, CXX/LD -o python/caffe/_caffe.so python/caffe/_caffe.cpp python/caffe/_caffe.cpp:10:31: fatal error: numpy/arrayobject.h: No such file or directory

include <numpy/arrayobject.h>

                           ^

compilation terminated. Makefile:453: recipe for target 'python/caffe/_caffe.so' failed make: *\ [python/caffe/_caffe.so] Error 1

zmll commented 5 years ago

PYTHON_INCLUDE := /usr/include/python2.7 \ /usr/lib/python2.7/dist-packages/numpy/core/include changed to PYTHON_INCLUDE := /usr/include/python2.7 \ /usr/local/lib/python2.7/dist-packages/numpy/core/include