Closed ghost closed 2 years ago
Thanks for the report @anonymum404. This is probably fixed in a more recent version of NumPy, because there's a check in main
for this exact compiler bug: https://github.com/numpy/numpy/blob/c6f8fb2f390f5694501a2a955f232c57a042ce0e/numpy/core/setup_common.py#L432-L455
Can you please try with the latest NumPy release?
Or with a newer compiler. The default on CentOS 7 is probably very old (can you check?).
Weird, I can't reproduce the issue now (don't have the old container anymore). Earlier when I ran pip install numpy==1.19.5
it was building from source
Collecting numpy==1.19.5
Downloading https://files.pythonhosted.org/packages/51/60/3f0fe5b7675a461d96b9d6729beecd3532565743278a9c3fe6dd09697fa7/numpy-1.19.5.zip (7.3MB)
Installing collected packages: numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: still running...
Running setup.py install for numpy: finished with status 'error'
But I tried the same thing today it's downloading the wheel
Collecting numpy==1.19.5
Downloading numpy-1.19.5-cp36-cp36m-manylinux2014_aarch64.whl (12.4 MB)
|################################| 12.4 MB 21 kB/s
Installing collected packages: numpy
Successfully installed numpy-1.19.5
which installed successfully. Thanks for the help anyway.
Maybe an outdated pip?
Closing as this seems fixed.
Fyi I have pip 21.3.1 now and the old container should have the same. Maybe I messed up somewhere
Describe the issue:
numpy 1.19.5 failed to build on arm64 centos7
Reproduce the code example:
Error message:
(The body exceeded maximum length so I'm skipping the head, let me know if you need the full report)
EDIT: relevant part:
Longer build output:
NumPy/Python version information:
numpy==1.19.5 python==3.6.4
Context for the issue:
The host has a Chinese made cpu, not sure if that's relevant