[Numpy-discussion] NameError: name 'numeric' is not defined

Robin robince at gmail.com
Sat Jun 6 19:53:21 EDT 2009


I just updated to latest numpy svn:
In [10]: numpy.__version__
Out[10]: '1.4.0.dev7039'

It seemed to build fine, but I am getting a lot of errors testing it:
Ran 178 tests in 0.655s

FAILED (errors=138)
Out[8]: <nose.result.TextTestResult run=178 errors=138 failures=0>

Almost all the errors look the same:
ERROR: test_shape (test_ctypeslib.TestNdpointer)
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/tests/test_ctypeslib.py",
line 83, in test_shape
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ctypeslib.py",
line 171, in from_param
    return obj.ctypes
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/__init__.py",
line 27, in <module>
    __all__ += numeric.__all__
NameError: name 'numeric' is not defined

I haven't seen this before - is it something wrong with my build or
the current svn state? I am using macports python 2.5.4 on os x 10.5.7



More information about the NumPy-Discussion mailing list