[Numpy-discussion] problems installing numpy on AIX

mfmorss at aep.com mfmorss at aep.com
Thu Mar 2 09:03:02 EST 2006


I returned to this task.

After some minor tweaks discussed here earlier, the build appears to
succeed.  There are two issues.  Issue 1 is, to me, of unknown
significance; it does not prevent the build.

Issue 2 is that numpy can't be imported.  There are problems with newdocs,
type_check and numerictypes.

The symptoms are shown below.


Issue 1.

creating build/temp.aix-5.2-2.4/build/src/numpy/core/src
compile options: '-Ibuild/src/numpy/core/src -Inumpy/core/include
-Ibuild/src/numpy/core -Inumpy/core/src -Inumpy/core/include
-I/app/sandbox/s625662/installed/include/python2.4 -c'
cc_r: build/src/numpy/core/src/umathmodule.c
"build/src/numpy/core/src/umathmodule.c", line 9307.32: 1506-280 (W)
Function argument assignment between types "long double*" and "double*" is
not allowed.

Issue 2.

$ python
Python 2.4.2 (#2, Feb 22 2006, 08:38:08) [C] on aix5
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
import core -> failed:
import random -> failed: 'module' object has no attribute 'dtype'
import lib -> failed:
import linalg -> failed:
import dft -> failed:
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/mydirectory/lib/python2.4/site-packages/numpy/__init__.py", line
45, in ?
    import add_newdocs
  File "/mydirectory/lib/python2.4/site-packages/numpy/add_newdocs.py",
line 2, in ?
    from lib import add_newdoc
  File "/mydirectory/lib/python2.4/site-packages/numpy/lib/__init__.py",
line 5, in ?
    from type_check import *
  File "/mydirectory/lib/python2.4/site-packages/numpy/lib/type_check.py",
line 8, in ?
    import numpy.core.numeric as _nx
  File "/mydirectory/lib/python2.4/site-packages/numpy/core/__init__.py",
line 7, in ?
    import numerictypes as nt
  File
"/mydirectory/lib/python2.4/site-packages/numpy/core/numerictypes.py", line
371, in ?
    _unicodesize = array('u','U').itemsize
MemoryError
>>>


Mark F. Morss
Principal Analyst, Market Risk
American Electric Power





More information about the NumPy-Discussion mailing list