Problem with embedding Python

Fredrik Lundh effbot at telia.com
Thu Mar 30 12:12:39 EST 2000


Alain <alain at antinea.org> wrote:
> The configuration seems to be all right. Moreover, the message
> "ImportError:
> /usr/local/lib/python1.5/site-packages/Numeric/multiarray.so: undefined
> symbol: _Py_NoneStruct" shows that the library "multiarray.so" is found,
> no ?
>
> Another idea ? :-)

Py_NoneStruct is defined in the Python interpreter.

if you've embedded the interpreter in your application, make
sure the symbols are properly exported (if/how to do that de-
pends on the platform -- in most cases, it just works...)

</F>





More information about the Python-list mailing list