[Numpy-discussion] (SPAM) Re: embeddedPyArray_FromDimsAndDataSegmentationFault

Pauli Virtanen pav@iki...
Tue May 20 16:10:45 CDT 2008


ti, 2008-05-20 kello 13:36 -0700, Thomas Hrabe kirjoitti:
> Thats what PyErr_Print() prints.
> Python is initialised, for sure
> 
> Traceback (most recent call last):
>   File "/usr/global/python32/lib/python2.4/site-packages/numpy/__init__.py", lin
> e 34, in ?
>     import testing
>   File "/usr/global/python32/lib/python2.4/site-packages/numpy/testing/__init__.
> py", line 3, in ?
>     from numpytest import *
>   File "/usr/global/python32/lib/python2.4/site-packages/numpy/testing/numpytest
> py", line 8, in ?
>     import unittest
>   File "/usr/global/python32/lib/python2.4/unittest.py", line 51, in ?
>     import time
> ImportError: /usr/global/python32/lib/python2.4/lib-dynload/time.so: undefined s
> ymbol: PyExc_IOErro
> 
> why does it work in C and not in C started within Matlab?

It's probably that it has something to do with the way Matlab loads its
extension libraries:

http://www.iki.fi/pav/software/pythoncall/index.html#compilation-important

-- 
Pauli Virtanen




More information about the Numpy-discussion mailing list