{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/5432","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/5432/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/5432/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/5432/events","html_url":"https://github.com/BVLC/caffe/issues/5432","id":215995145,"node_id":"MDU6SXNzdWUyMTU5OTUxNDU=","number":5432,"title":"fatal error: 'numpy/arrayobject.h' file not found","user":{"login":"GloryDream","id":20336084,"node_id":"MDQ6VXNlcjIwMzM2MDg0","avatar_url":"https://avatars3.githubusercontent.com/u/20336084?v=4","gravatar_id":"","url":"https://api.github.com/users/GloryDream","html_url":"https://github.com/GloryDream","followers_url":"https://api.github.com/users/GloryDream/followers","following_url":"https://api.github.com/users/GloryDream/following{/other_user}","gists_url":"https://api.github.com/users/GloryDream/gists{/gist_id}","starred_url":"https://api.github.com/users/GloryDream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GloryDream/subscriptions","organizations_url":"https://api.github.com/users/GloryDream/orgs","repos_url":"https://api.github.com/users/GloryDream/repos","events_url":"https://api.github.com/users/GloryDream/events{/privacy}","received_events_url":"https://api.github.com/users/GloryDream/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-22T09:08:39Z","updated_at":"2018-12-23T15:50:46Z","closed_at":"2017-03-22T14:29:42Z","author_association":"NONE","body":"### Issue summary\r\nfatal error: 'numpy/arrayobject.h' file not found\r\n\r\n### Steps to reproduce\r\n\r\nWhen I followed the instructions\r\n`make -j8 && make pycaffe`\r\nIt shows \r\n`python/caffe/_caffe.cpp:11:10: fatal error: 'numpy/arrayobject.h' file not found\r\n#include <numpy/arrayobject.h>\r\n         ^\r\n1 error generated.`\r\n\r\n### Your system configuration\r\nOperating system: macOS Sierra 10.12.3\r\nCompiler:\r\nCUDA version (if applicable): N/A\r\nCUDNN version (if applicable): N/A\r\nBLAS:\r\nPython version (for pycaffe and matcaffe respectively): 2.7\r\n\r\nBesides, in Makefile.config, I set \r\n`ANACONDA_HOME := $/Users/gxy/anaconda2\r\nPYTHON_INCLUDE := $(ANACONDA_HOME)/include \\\r\n\t\t$(ANACONDA_HOME)/include/python2.7 \\\r\n\t\t$(ANACONDA_HOME)/lib/python2.7/site-packages/numpy/core/include\r\n`\r\nAnd in terminal, I checked \r\n`\r\n import numpy\r\nnumpy.get_include()\r\n'/Users/gxy/anaconda2/lib/python2.7/site-packages/numpy/core/include'\r\n`"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/449644963","html_url":"https://github.com/BVLC/caffe/issues/5432#issuecomment-449644963","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/5432","id":449644963,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTY0NDk2Mw==","user":{"login":"tktamtran","id":28011103,"node_id":"MDQ6VXNlcjI4MDExMTAz","avatar_url":"https://avatars3.githubusercontent.com/u/28011103?v=4","gravatar_id":"","url":"https://api.github.com/users/tktamtran","html_url":"https://github.com/tktamtran","followers_url":"https://api.github.com/users/tktamtran/followers","following_url":"https://api.github.com/users/tktamtran/following{/other_user}","gists_url":"https://api.github.com/users/tktamtran/gists{/gist_id}","starred_url":"https://api.github.com/users/tktamtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tktamtran/subscriptions","organizations_url":"https://api.github.com/users/tktamtran/orgs","repos_url":"https://api.github.com/users/tktamtran/repos","events_url":"https://api.github.com/users/tktamtran/events{/privacy}","received_events_url":"https://api.github.com/users/tktamtran/received_events","type":"User","site_admin":false},"created_at":"2018-12-23T15:50:46Z","updated_at":"2018-12-23T15:50:46Z","author_association":"NONE","body":"For me, even though I modified the Makefile.config,  running `make pycaffe` still returned the same error. It's necessary to run `make clean` and `make all` etc all over again before `make pycaffe` to reflect the changes in Makefile.config."}}
{"actor":{"display_login":"triple-tam"}}