problem embedding numpy
Marc Schellens
m_schellens at hotmail.com
Thu Mar 18 07:37:34 EST 2004
My C++ application crashes at "import_libnumarray()", when I:
1.
initalize python and numarray like:
...
Py_Initialize();
import_libnumarray();
...
2 .
load another module like:
PyObject* pModule = PyImport_Import(pName);
3.
call Py_Finalize()
and do 1. again.
If I call import_libnumarray() only once,
my app crashes at 2. at PyImport_Import(pName)
Any suggestions?
Thanks,
marc
More information about the Python-list
mailing list