【问题标题】:Numpy failure while installing python(3.6.6) module pandas-0.24.2. on AIX 7.1.0.0 powerpc安装 python(3.6.6) 模块 pandas-0.24.2 时 Numpy 失败。在 AIX 7.1.0.0 上
【发布时间】:2019-04-26 06:41:54
【问题描述】:
Aix ---> 7.1.0.0 (64 Bit)
Python --> 3.6.6
Not able to install module pandas-0.24.2 , 
It is failing while trying to import numpy with the below error message,

 ImportError:        0509-022 Cannot load module $PYTHON_HOME/lib64/python3.6/site-packages/numpy-1.16.2-py3.6-aix-7.1.egg/numpy/core/_multiarray_umath.so.

Have tried compiling the numpy module from the package source, still it didn't work....
https://stackoverflow.com/questions/31704639/compiling-numpy-for-python3-for-aix-works-but-import-fails#32736358

https://github.com/numpy/numpy/issues/12396
https://github.com/numpy/numpy/issues/11317
https://github.com/numpy/numpy/issues/4723



ImportError: 0509-022 Cannot load module $PYTHON_HOME/lib64/python3.6/site-packages/numpy-1.16.2-py3.6-aix-7.1.egg/numpy/core/_multiarray_umath.so.
0509-026 System error: Cannot run a file that does not have a valid format

【问题讨论】:

    标签: pandas numpy python-3.6 aix


    【解决方案1】:

    试试:

    1. pip 卸载 -y numpy
    2. pip 卸载 -y setuptools
    3. pip install setuptools
    4. pip install numpy

    【讨论】:

    • 感谢帮助,setuptools 已经安装好了。我怀疑这与 AIX 和 numpy 模块的兼容性有关。
    猜你喜欢
    • 2015-07-11
    • 2020-06-19
    • 2022-12-03
    • 1970-01-01
    • 2016-04-10
    • 1970-01-01
    • 2013-04-03
    • 2020-07-07
    • 2013-12-01
    相关资源
    最近更新 更多