Tue May 20 15:52:20 CDT 2008
On Tue, May 20, 2008 at 3:36 PM, Thomas Hrabe <email@example.com> wrote:
> 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 depends on how you linked everything. Presumably, you linked in
libpython24 for the program but not the MEX.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion