[Numpy-discussion] numpy errors when importing in Picalo
Wed Nov 26 20:45:43 CST 2008
igor Halperin wrote:
> I get numpy errors after I install Picalo (www.picalo.org
> <http://www.picalo.org>) on Mac OS X 10.4.11 Tiger. I have tried to
> import numpy in Picalo using the instructions in PicaloCookBook, p.101.
> I get this error message which I don't understand.
> Per Picalo author (see below for his reply to my email to Picalo
> discussion forum), I try it here.
> I use numpy v. 1.0.4. <http://1.0.4.> distributed with Scipy superpack
> Could anyone please help?
The problem is that numpy was build using a python that was build with
ucs4 (it is a unicode thing) while the python you run (I assume the
Apple one) is ucs2. To fix this either build your own numpy or get a
binary one that is ucs2, but I have no clue where one would get such a
> Thanks, and cheers
> import numpy
> Traceback (most recent call last):
> File "<input>", line 1, in <module>
> line 93, in <module>
> line 9, in <module>
> line 4, in <module>
> line 8, in <module>
> line 5, in <module>
> 2): Symbol not found: _PyUnicodeUCS4_FromUnicode
> Referenced from:
> Expected in: dynamic lookup
> Conan C. Albrecht
> to me, users
> show details Nov 23 (3 days ago) [smime.p7s]
> You're doing everything right from my perspective. It looks like a
> problem with NumPy. The stack trace goes to multiarray.so in their core
> toolkit. I think you should hit their forums and see if they can help.
> One idea is that Picalo uses unicode for all data values. Perhaps numpy
> can't handle unicode?
> Numpy-discussion mailing list
More information about the Numpy-discussion