[Numpy-discussion] problems installing numpy on AIX

mfmorss at aep.com mfmorss at aep.com
Thu Mar 2 09:20:01 CST 2006


Minor correction.

Mark F. Morss
Principal Analyst, Market Risk
614-583-6757
Audinet 220-6757


                                                                           
             mfmorss at aep.com                                               
             Sent by:                                                      
             numpy-discussion-                                          To 
             admin at lists.sourc         numpy-discussion                    
             eforge.net                <numpy-discussion at lists.sourceforge 
                                       .net>                               
                                                                        cc 
             03/02/2006 11:59                                              
             AM                                                    Subject 
                                       [Numpy-discussion] problems         
                                       installing numpy on AIX             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




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/mydirectory/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



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion






More information about the Numpy-discussion mailing list