[Biopython-dev] NumPy 1.7 and NPY_NO_DEPRECATED_API warnings

Peter Cock p.j.a.cock at googlemail.com
Tue Mar 11 09:42:55 EDT 2014


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