Hello,

   I'm not sure if this is an issue with snow leopard, or if I messed
something up at some point, but numpy is not importing correctly since
I just upgraded. It is importing fine in OS X's 2.5 & 2.6 internal
python, but once I try to import it in maya it tells me this:

# Error: data type not understood
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
#   File "/Library/Python/2.5/site-packages/numpy/__init__.py", line
130, in <module>
#     import add_newdocs
#   File "/Library/Python/2.5/site-packages/numpy/add_newdocs.py",
line 9, in <module>
#     from lib import add_newdoc
#   File "/Library/Python/2.5/site-packages/numpy/lib/__init__.py",
line 4, in <module>
#     from type_check import *
#   File "/Library/Python/2.5/site-packages/numpy/lib/type_check.py",
line 8, in <module>
#     import numpy.core.numeric as _nx
#   File "/Library/Python/2.5/site-packages/numpy/core/__init__.py",
line 8, in <module>
#     import numerictypes as nt
#   File "/Library/Python/2.5/site-packages/numpy/core/
numerictypes.py", line 430, in <module>
#     _set_array_types()
#   File "/Library/Python/2.5/site-packages/numpy/core/
numerictypes.py", line 421, in _set_array_types
#     _gi = dtype('p')
# TypeError: data type not understood #

I have tried to use easy_install within maya to install it, but It is
not building correctly (the same is true outside of maya too).

Is anyone that is running snow leopard (and maya 2009) running numpy
correctly? does anyone have any suggestions as to what I can do to get
numpy importing?

Thanks,
Kevin W.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to