Install Numpy in AIX 6.1


 
Thread Tools Search this Thread
Operating Systems AIX Install Numpy in AIX 6.1
# 1  
Old 04-17-2013
IBM Install Numpy in AIX 6.1

Hi

I have been trying install numpy in AIX 6.1 unsuccessfully, the versions are numpy (1.7 or 1.6), ( IBM XL C/C++ for AIX, V11.1 or gcc 4.7.2 )

I put in site.cfg from numpy the following
Code:
library_dirs = /opt/freeware/lib:/usr/lib:/usr/lib64:/lib:/usr/local/lib64 
include_dirs = /usr/include:/opt/freeware/include

[blas_opt] 
libraries = libblas.a 
[lapack_opt]
 libraries = liblapack.a

The compilation was without error, after I changed the PATH and add PYTHONPATH.

When i import numpy with python_64 i saw the error:

Code:
File "<stdin>", line 1, in <module>   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/__init__.py", line 137, in <module>     import add_newdocs   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in <module>     from numpy.lib import add_newdoc   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/lib/__init__.py", line 4, in <module>     from type_check import *   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/lib/type_check.py", line 8, in <module>     import numpy.core.numeric as _nx   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/core/__init__.py", line 5, in <module>     import multiarray    ImportError:    0509-022 Cannot load module /home/bruno/bin/lib/python2.6/site-packages/numpy/core/multiarray.so.         0509-103   The module has an invalid magic number.


And when i import with python i see

Code:
  File "<stdin>", line 1, in <module>   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/__init__.py", line 137, in <module>     import add_newdocs   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in <module>     from numpy.lib import add_newdoc   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/lib/__init__.py", line 4, in <module>     from type_check import *   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/lib/type_check.py", line 8, in <module>     import numpy.core.numeric as _nx   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/core/__init__.py", line 8, in <module>     import numerictypes as nt   File "/home/bruno/bin/lib/python2.6/site-packages/numpy/core/numerictypes.py", line 872, in <module>     _typestr[key] = empty((1,),key).dtype.str[1:]  ValueError: array is too big.

Can anyone help me?

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to install python on the AIX 5.2?

Hi folks, Could tell me how to install python on the AIX 5.2 ? What better method for install: rpm or compiling? Regards. (4 Replies)
Discussion started by: stenioc1
4 Replies

2. AIX

Install pkgadd on AIX

I believe pkgadd facility is available on AIX for managing installation of software packages. How can i get pkgadd facility on AIX machine. which packages i have to install to get pkgadd feature? :mad: (4 Replies)
Discussion started by: snreddy_gopu
4 Replies

3. AIX

install CDE on AIX 5.3

Hi all, I want to install CDE on AIX 5.3 - TL 10 , X server already installed and most X applications works fine. i made iso files for 3 out of 8 volumes for the aix ( itried only 3 out of 8 with no luck ), and i mounted them as if they were filesystems. then i ran #smit install_all and... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

4. AIX

How to install AIX 5.3 on vmware

Hi, I want to install AIX 5.3 for running DB2. As AIX cannot be installed on normal PCs without vmware, trying to install it on vmware. Could any one help me out how to do it. Thanks in advance. (9 Replies)
Discussion started by: prasadg034
9 Replies

5. AIX

Install fixes on AIX 5.3

I'm new to AIX, so please excuse my ignorance! I'm trying to get the system I am now in charge of up-to-date. The 'oslevel' is 5.3.0.0--does this mean no fixes have been installed on this machine since version 5.3 was installed, or just none committed? I've run a couple of what appears to be... (5 Replies)
Discussion started by: brianmd
5 Replies

6. UNIX for Dummies Questions & Answers

Numpy and scipy installatin to unix server

Hello, i very need to install numpy and scipy packages to pyhton on my unix server. All my tries was unssuccesalbe. Can anybody tell me how can resolve my problem. (6 Replies)
Discussion started by: daggeto
6 Replies

7. AIX

how to install fonts in AIX

Dear Friends, Please help me out to install fonts in AIX. I am new to AIX. Thanks in advance. Regards, dba (2 Replies)
Discussion started by: aix.dba
2 Replies

8. AIX

How to install aix on a VLPAR

I have a VIO server on p5, already setup vio client as a lpar on that machine. The question is how I install AIX on that LPAR from NIM server? Does anybody have a document or which IBM redbook has the steps? (0 Replies)
Discussion started by: rainbow_bean
0 Replies

9. AIX

Install sudo on AIX 5.3

I'm trying to install sudo on AIX 5.3. I don't have a compiler on my machine, so I was trying to find a binary. The one found at http://www.bullfreeware.com/listaix52.html that is supposed to work for 5.3 even though it was compiled on 5.2. The issue is I'm new to AIX and could not figure out how... (3 Replies)
Discussion started by: sphericon
3 Replies

10. UNIX Desktop Questions & Answers

Can I Install AIX 4.3.3 on a PC?

Would it be possible to install AIX ver 4.3.3 on a Pc so I can Practice commands and become familiar with the system? Is there anything special that i would have to do? Thanks Frank (1 Reply)
Discussion started by: wumagic
1 Replies
Login or Register to Ask a Question