[Numpy-discussion] numpy errors when importing in Picalo
igor Halperin
ighalp at gmail.com
Wed Nov 26 21:38:33 EST 2008
Hi,
I get numpy errors after I install Picalo (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. distributed with Scipy superpack (
http://macinscience.org/?page_id=6)
Could anyone please help?
Thanks, and cheers
Igor
sys.path.append('/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/')
import numpy
Traceback (most recent call last):
File "<input>", line 1, in <module>
File
"/Applications/sage/local/lib/python2.5/site-packages/numpy/__init__.py",
line 93, in <module>
File
"/Applications/sage/local/lib/python2.5/site-packages/numpy/add_newdocs.py",
line 9, in <module>
File
"/Applications/sage/local/lib/python2.5/site-packages/numpy/lib/__init__.py",
line 4, in <module>
File
"/Applications/sage/local/lib/python2.5/site-packages/numpy/lib/type_check.py",
line 8, in <module>
File
"/Applications/sage/local/lib/python2.5/site-packages/numpy/core/__init__.py",
line 5, in <module>
ImportError:
dlopen(/Applications/sage/local/lib/python2.5/site-packages/numpy/core/multiarray.so,
2): Symbol not found: _PyUnicodeUCS4_FromUnicode
Referenced from:
/Applications/sage/local/lib/python2.5/site-packages/numpy/core/multiarray.so
Expected in: dynamic lookup
Reply
Forward
Conan C. Albrecht to me, users
show details Nov 23 (3 days ago)
Reply
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20081126/d6fbc30d/attachment.html>
More information about the NumPy-Discussion
mailing list