_import_array error after upgrading Cython

13 views
Skip to first unread message

Timo Betcke

unread,
Nov 25, 2016, 2:48:18 AM11/25/16
to cython-users
Hi,

after upgrading Cython to 0.25.1 I am receiving the error message

      use of undeclared identifier '_import_array'
      __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == -1)) __PYX_...

in several of my code files. I have problems figuring out what could cause this. Any idea where _import_array should be defined?

Best wishes

Timo

Jeroen Demeyer

unread,
Nov 25, 2016, 4:29:07 AM11/25/16
to cython...@googlegroups.com
It comes from Numpy. Which version of Numpy do you have?
Reply all
Reply to author
Forward
0 new messages