[Numpy-discussion] recompiling needed for binary module after numpy 1.0
Sebastian Haase
seb.haase at gmx.net
Fri Jan 5 20:20:44 CST 2007
package header would usually be found in
PREFIX/include/python2.x
(with PREFIX being something like: /usr/lib/python24 or C:/python24 )
However for obscure reasons in numpy
the header files are in
PREFIX/lib/python2.x/site-packages/numpy/core
You have to "somehow" add this as '-I <path above>' to your compiler
command line -- this is what setup.py would do for you.
( maybe you need to look in /usr/local/lib/... )
-Sebastian
On 1/5/07, belinda thom <bthom at cs.hmc.edu> wrote:
>
> On Jan 5, 2007, at 5:32 PM, Sebastian Haase wrote:
>
> > Hi,
> > All I did is recompiling my (on source code file) C extension. I made
> > sure that it was including the current numpy header files.
>
> Where are these files located? What command did you use? (The gorey
> details would help me quite a bit, as I'm to compile-level installs,
> having usually relied on things like macports port to do the work for
> me)...
>
> >
> > I did not use anything related to distutils ( no "python
> > setup.py ..." ).
> >
> > Does that answer your question ?
>
> Almost...
>
> >
> > -Sebastian
>
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
More information about the Numpy-discussion
mailing list