Open numpy-gitbot opened 12 years ago
Original ticket http://projects.scipy.org/numpy/ticket/2203 on 2012-08-17 by trac user Lukasz16a, assigned to unknown.
The following simple code causes runtime error:
void f() { import_array() ; }
int main() { for(int i=0 ; i<2 ; i++) { Py_Initialize() ; f() ; Py_Finalize() ; } }
The problem is loading numpy.core... I tested it on Visual Studio 2010 at Windows 7 Professional x64.
Original ticket http://projects.scipy.org/numpy/ticket/2203 on 2012-08-17 by trac user Lukasz16a, assigned to unknown.
The following simple code causes runtime error:
include
include <numpy/arrayobject.h>
void f() { import_array() ; }
int main() { for(int i=0 ; i<2 ; i++) { Py_Initialize() ; f() ; Py_Finalize() ; } }
The problem is loading numpy.core... I tested it on Visual Studio 2010 at Windows 7 Professional x64.