title: can not import numpy in boost-python
body: <p>I am trying out boost-python. However, even a simple hello world doesn't work.</p>
  
  <pre><code>#define BOOST_PYTHON_STATIC_LIB
  #include &lt;boost/python/detail/wrap_python.hpp&gt;
  #include "numpy/arrayobject.h"
  #include &lt;boost/python.hpp&gt;
  
   void init_numpy()
  {
    import_array();
  }
  
   int main()
   {
       Py_Intialize();
       init_numpy();       
  
   }
  </code></pre>
  
  <p>It gives error</p>
  
  <blockquote>
    <p>ImportError: numpy.core.multiarray failed to import</p>
  </blockquote>
  
  <p>But if I open my IPython, and run <code>import numpy.core.multiarray</code>, it runs fine. What part am I getting worng?</p>