pip3 install numpy Error
Symptom
When you run the pip3 install numpy command to install the dependency, the error message "Could not build wheels for numpy which use PEP 517 and cannot be install directly" is displayed, as shown in the following figure.

Possible Causes
The default GCC version on CentOS is too old, causing NumPy installation to fail.
Solution
Run the following commands:
1 2 |
export CFLAGS=-std=c99 pip3 install numpy==1.19.2 |
Parent topic: Third-Party Dependency Installation Issues