[Numpy-discussion] Import error in builds of 7726

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Nov 10 20:58:34 CST 2009


Chris wrote:
> I am building Numpy on OSX 10.6 using a recent update
> from SVN (r7726). Though I was able to build the package
> successfully, the resulting package generates an ImportError:
>
>     import umath
> ImportError: dlopen(/Library/Python/2.6/site-packages/
> numpy-1.4.0.dev7726-py2.6-macosx-10.6-
> universal.egg/numpy/core/umath.so, 2): Symbol not found
> : _npy_cexp
>   Referenced from: /Library/Python/2.6/site-packages/
> numpy-1.4.0.dev7726-py2.6-macosx-10.6-universal.egg/
> numpy/core/umath.so
>   Expected in: flat namespace
>  in /Library/Python/2.6/site-packages/
> numpy-1.4.0.dev7726-py2.6-macosx-10.6-universal.egg
> /numpy/core/umath.so
>
> Note that this did not occur previously (r7542). For some reason
> umath is not being built properly.
>   

Did you make sure to build from scratch and clean the working directory
first ?

I don't see the error on my macbook: umath.so has npy_cexp* functions
defined.

David


More information about the NumPy-Discussion mailing list