[Stackless] numpy problem
senn at maya.com
Mon Jan 19 20:40:55 CET 2009
To expand further: I believe several of the Linux python binary package
managers (Ubuntu, Fedora...) have taken to "defaulting" to the
4-byte unicode mode.... (IMHO, a dubious decision...)
Also it used to be that easy_install(eggs) would not correctly
make sure that the unicode compile options were compatible...
not sure of the current state of that...
Again - neither of these are issues with Stackless specifically.
On Jan 19, 2009, at 2:23 PM, Richard Tew wrote:
> On Mon, Jan 19, 2009 at 8:46 AM, Alan Bromborsky
> <abrombo at verizon.net> wrote:
>> I tried to import numpy into stackless and got the error:
>> ImportError: /usr/lib/python2.5/site-packages/numpy/core/
>> undefined symbol: _PyUnicodeUCS4_IsWhitespace
>> numpy uses 4-byte unicode while stackless uses 2-bytes. What can I
>> do to
>> correct this problem?
> I'd just like to expand on my earlier answer to this.
> Note that Python unless it has a reason otherwise, defaults to the 2
> byte mode. This, like many other things discussed on this list
> recently, is a standard Python behaviour.
> See 'configure.in' and search for 'enable_unicode'.
> Stackless mailing list
> Stackless at stackless.com
More information about the Stackless