[Biopython-dev] NumPy 1.7 and NPY_NO_DEPRECATED_API warnings

hari jayaram harijay at gmail.com
Wed Mar 12 00:17:39 UTC 2014


Thanks Peter ..
That was indeed the case. I had a python in

/usr/local/lib/python2.7/site-packages/numpy

That was getting called rather than the one in my .virtualenv

Once I removed that python . The install progressed very smoothly

Thanks for your help

Hari



On Tue, Mar 11, 2014 at 9:42 AM, Peter Cock <p.j.a.cock at googlemail.com>wrote:

> On Tue, Mar 11, 2014 at 1:37 PM, hari jayaram <harijay at gmail.com> wrote:
> > Hi all,
> > I just pull-ed from the git repository just now  and after installing the
> > newest numpy and scipy ( also from their respective git repos)..when I
> try
> > to install biopython I get the same error complaining that I need to
> define
> > :
> >
> > #defining NPY_NO_DEPRECATED_API
> >       NPY_1_7_API_VERSION" [-W#warnings]
> >
> > I tried adding to file
> >
> "/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/old_defines.h"
> > the following line
> >
> >
> > #define  NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
> >
> >
> > But it still fails to install with an error as indicated below.
> >
> > I am sorry I dont know how to work around this.
> > Thanks for your help
> >
> > Hari
>
> I suspect based on this NumPy thread that it is a problem with
> your NumPy install, perhaps you have some old files from a
> previous NumPy installation which are confusing things?
>
> http://mail.scipy.org/pipermail/numpy-discussion/2014-March/069396.html
>
> Peter
>



More information about the Biopython-dev mailing list