[SciPy-user] Python embedded in C : import scipy fails
Fri Mar 9 12:20:01 CST 2007
Don't know if this is the problem, but in my app, I call
"import_array1(false);" right after calling Py_Initialize().
On 3/9/07, Elisabeth Maschke-Dutz <email@example.com> wrote:
> I want to use some programs that uses scipy
> in an in C embedded python program.
> import sys
> import os
> from string import join
> all those comands work fine.
> The sys.path is found, it looks as if the whole environment
> is the same as it is when I start python in a shell.
> The directory .../python2.4/site-packages/scipy is also set
> in sys.path.
> But it is impossible to import scipy,
> the program terminates with a segmentation fault or the function is not
> The same problem occurs if I try to import numpy.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user