Your system is not Ubuntu/Debian, so you should not install "python-dev", but "python-devel". You need to investigate solutions on CentOS, Fedora and other operating systems.
Are you sure python-devel is installed? Use "rpm -qi python-devel" to check it out.
If python-devel is installed, check the installation path of python to see if it is the default. If not, you need to indicate the path of python-devel when compiling uwsgi;
Xiaojiekong has already said that the installation names of ubuntu and centos/redhat are different, and you need to look at the installation method of the corresponding system.
Your system is not Ubuntu/Debian, so you should not install "python-dev", but "python-devel".
You need to investigate solutions on CentOS, Fedora and other operating systems.
Are you sure python-devel is installed? Use "rpm -qi python-devel" to check it out.
If python-devel is installed, check the installation path of python to see if it is the default. If not, you need to indicate the path of python-devel when compiling uwsgi;
Xiaojiekong has already said that the installation names of ubuntu and centos/redhat are different, and you need to look at the installation method of the corresponding system.
Install uwsgi with pip