[Numpy-discussion] import numpy fails on dev build

Ilan Schnell ischnell@enthought....
Wed Jun 8 15:12:02 CDT 2011


This is due to a mismatch of the UCS mode of Python and the
C extension you build.  Python has a configure option to let you
choose whether unicode symbols are represented as 2 of 4 bytes,
i.e. UCS2 or UCS4.

- Ilan


On Wed, Jun 8, 2011 at 3:07 PM, Raymond Roberts <rayvroberts@gmail.com> wrote:
> numpy.__version__ == 2.0.0.dev-76ca55f
> python version 2.7.1
> Gentoo Linux 2.6.38-r6 installed inside of VMWare fusion on Mac OS X 10.6.7
> gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
> Build is successful. Import of numpy dev build results in the following
> error message
> ImportError: ~/numpy/lib/python/numpy/core/multiarray.so: undefined symbol:
> _PyUnicodeUCS4_IsWhitespace
> Captured the output of build and nowhere is there an error or warning
> related to _PyUnicodeUCS4_IsWhitespace.
>
>
> -Ray
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>


More information about the NumPy-Discussion mailing list