gcc
is a pre-requisite for Apache Airflow and it looks like it is not installed.
You can install it using this command,
sudo yum install gcc gcc-c++ -y
You might need these development packages as well,
sudo yum install libffi-devel mariadb-devel cyrus-sasl-devel -y