This is an issue with mtrand.c, which is a Cython-generated file. In the mtrand folder, NumPy bundles a script called generate_mtrand_c.py. This is used to generate mtrand.c, in NumPy 13.2 prebuilt with Cython 0.27. If you build it using Cython 0.25 everything works fine (0.26 not tested).
For convenience I prepared a Cython-0.25-built version of mtrand.c.
You can either replace mtrand.c if you build NumPy by yourself or use the binary mtrand.so (Linux 64 only as of this writing; I will add more binaries soon). You can put the binary on sys.path such that it preceeds NumPy. Then it should override the original mtrand.so.
Sure, this needs to be fixed in JyNI, but I cannot tell when I'll find time. So, until then use this workaround for NumPy 13.2.
This is an issue with
mtrand.c
, which is a Cython-generated file. In themtrand
folder, NumPy bundles a script calledgenerate_mtrand_c.py
. This is used to generatemtrand.c
, in NumPy 13.2 prebuilt with Cython 0.27. If you build it using Cython 0.25 everything works fine (0.26 not tested). For convenience I prepared a Cython-0.25-built version ofmtrand.c
.You can either replace
mtrand.c
if you build NumPy by yourself or use the binarymtrand.so
(Linux 64 only as of this writing; I will add more binaries soon). You can put the binary onsys.path
such that it preceeds NumPy. Then it should override the originalmtrand.so
.Sure, this needs to be fixed in JyNI, but I cannot tell when I'll find time. So, until then use this workaround for NumPy 13.2.