【发布时间】:2015-10-20 16:21:07
【问题描述】:
有人成功地为 AIX6.1 或 7.1 构建了 numpy 包吗?
我下载了 numpy-1.9.2.tar.gz 并运行了“python3 setup.py install”。
在patching a few source files 之后编译。但是,当我尝试导入 numpy 时,它会说:
ImportError: 0509-022 Cannot load module /python3.4/site-packages/numpy/core/multiarray.so.
0509-187 The local-exec model was used for thread-local
storage, but the module is not the main program.
0509-193 Examine the .loader section header with the
'dump -Hv' command.
我的猜测是它有一些-fPIC 问题?!?我尝试了 "CFLAGS="-fPIC" python3 setup.py install" 但结果相同。有什么建议?非常感谢!!
【问题讨论】:
标签: python-3.x numpy linker-errors aix