[Numpy-discussion] numpy on OSX 10.6 issues
Christopher Hanley
chanley@stsci....
Fri Sep 11 10:15:39 CDT 2009
Hi,
I'm looking for some help getting the svn trunk numpy working on Max OS
X 10.6. I've installed my own version of Python 2.6 from python.org.
I've got the following flags set:
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv CFLAGS "-arch i386 -arch x86_64"
setenv FFLAGS "-arch i386 -arch x86_64"
setenv LDFLAGS "-Wall -undefined dynamic_lookup -bundle -arch i386 -arch
x86_64"
The build seems to complete with no errors. However when I attempt to
import numpy I get the following error:
Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/chanley/dev/site-packages/lib/python/numpy/__init__.py",
line 130
, in <module>
import add_newdocs
File
"/Users/chanley/dev/site-packages/lib/python/numpy/add_newdocs.py", line
9, in <module>
from lib import add_newdoc
File
"/Users/chanley/dev/site-packages/lib/python/numpy/lib/__init__.py", line
4, in <module>
from type_check import *
File
"/Users/chanley/dev/site-packages/lib/python/numpy/lib/type_check.py", li
ne 8, in <module>
import numpy.core.numeric as _nx
File
"/Users/chanley/dev/site-packages/lib/python/numpy/core/__init__.py", lin
e 8, in <module>
import numerictypes as nt
File
"/Users/chanley/dev/site-packages/lib/python/numpy/core/numerictypes.py",
line 600, in <module>
_typestr[key] = empty((1,),key).dtype.str[1:]
ValueError: array is too big.
>>>
Any suggestions?
Thank you for your time and help,
Chris
--
Christopher Hanley
Senior Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338
More information about the NumPy-Discussion
mailing list