[SciPy-User] scipy compiles, but importing interpolate fails

Gael Varoquaux gael.varoquaux@normalesup....
Fri Mar 9 00:31:20 CST 2012


On Thu, Mar 08, 2012 at 03:27:48PM -0800, Keflavich wrote:
> Well, it took another half-dozen clean rebuilds, but I got it
> working.  Thanks!

Well, good job on persisting: half a dozen rebuild is too much :). Do you
have an idea what finally made the difference?

> (clarification: it's numpy.get_include(), not
> numpy.get_include_folder(), I think)

Good point, I was writing this email in a rush, without checking my
facts.

Gael

> On Mar 8, 3:01 pm, Gael Varoquaux <gael.varoqu...@normalesup.org>
> wrote:
> > On Thu, Mar 08, 2012 at 01:59:44PM -0800, Keflavich wrote:
> > > That's plausible.  How do I specify which numpy is used when compiling
> > > scipy?

> > It should be the one that is imported by Python when you type 'import
> > numpy'. Basically, in scipy's 'setup.py', the header are found using the
> > 'numpy.get_include_folder()' function.

> > Gaël
> > _______________________________________________
> > SciPy-User mailing list
> > SciPy-U...@scipy.orghttp://mail.scipy.org/mailman/listinfo/scipy-user
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user

-- 
    Gael Varoquaux
    Researcher, INRIA Parietal
    Laboratoire de Neuro-Imagerie Assistee par Ordinateur
    NeuroSpin/CEA Saclay , Bat 145, 91191 Gif-sur-Yvette France
    Phone:  ++ 33-1-69-08-79-68
    http://gael-varoquaux.info


More information about the SciPy-User mailing list