title: Unable to find numpy/arrayobject.h
body: <p>I am trying to build (right now make and install) a library and have been caught at the following error:</p>
  
  <p><code>spinal.cpp:3559:10: fatal error: 'numpy/arrayobject.h' file not found 
  '#include numpy/arrayobject.h&gt;</code></p>
  
  <p>Searching online has shown this to be a common problem that is just fixed by either including it with CPPFLAGS, or export CFLAGS. I tried both and neither worked. I also noted that the location of my header files is significantly different from others. </p>
  
  <p>Mine is: <code>- I/$HOME/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include</code></p>
  
  <p>While most that I see elsewhere is: -I/usr/lib/python2.7/site-packages/numpy/core/include/</p>
  
  <p>Any suggestions? </p>
  
  <p>Edits (sorry for vagueness):</p>
  
  <p>It's a library called libwireless. </p>
  
  <p>The output of <code>python -c 'import sys; print(sys.prefix)'</code> is <code>/System/Library/Frameworks/Python.framework/Versions/2.7</code>.</p>
  
  <p>I tried placing the following into CPPFLAGS as well as trying it with export CFLAGS. 
  <code>-I/$HOME/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include</code></p>
  
  <p>Solution found after long time (forgot to note): Things were moved around somehow, so that was actually the incorrect path.</p>