-
-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Description
Describe the issue:
My machine is running on an Intel Celeron 3855U, which according to Intel's website, does not support advanced vector extensions.
When I run pip install numpy
, it needs to build from source. I assume that this is because of my relatively uncommon configuration. Nevertheless, numpy's build script appears to misrecognize my CPU's capabilities and incorrectly enables the AVX targets. Thinking I could resolve this by building numpy from source, I cloned the repository and ran the suggested command from numpy's official documentation, to manually disable the AVX features. The build appears to fail for the same reason (the related log is attached).
Reproduce the code example:
CPU: Intel Celeron 3855U
OS: OpenBSD 7.5 (amd64)
Python: 3.11.9
NumPy: 2.0.0
python3.11 -m venv venv
source venv/bin/activate
pip install numpy
Error message:
Log is too big to display here, see install_log.txt
Python and NumPy Versions:
Python: 3.11.9
NumPy: 2.0.0
Runtime Environment:
N/A
Context for the issue:
This prevents usage of numpy, as well as any dependent package on machines that:
- Run OpenBSD 7.5 (but potentially other versions as well)
- Use an x86 CPU that does not support advanced vector extensions.