Re: [Numpy-discussion] problems installing numpy on AIX
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",
Minor correction. Mark F. Morss Principal Analyst, Market Risk 614-583-6757 Audinet 220-6757 mfmorss@aep.com Sent by: numpy-discussion- To admin@lists.sourc numpy-discussion eforge.net <numpy-discussion@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. 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
mfmorss@aep.com wrote:
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.
These errors seem to indicate that while the build finished it did not result in useful code. Could you post the output of the build log? It may contain warnings that are relevant. I don't understand why you are getting the errors you are getting. They seem unusual. Make sure you are running from outside the directory you built in (i.e. don't run in the numpy source directory).
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.
This is a strange as it seems your math library has the wrong definition for modfl. Can you verify what section of code this is balking on? Thanks for the attempts, -Travis
participants (2)
-
mfmorss@aep.com -
Travis Oliphant