Python: No acceptable C compiler found in $PATH when installing python Python: No acceptable C compiler found in $PATH when installing python python python

Python: No acceptable C compiler found in $PATH when installing python


The gcc compiler is not in your $PATH.It means either you dont have gcc installed or it's not in your $PATH variable.

To install gcc use this: (run as root)

  • Redhat base:

    yum groupinstall "Development Tools"
  • Debian base:

    apt-get install build-essential


for Ubuntu / Debian :

# sudo apt-get install build-essential

For RHEL/CentOS

#rpm -qa | grep gcc# yum install gcc glibc glibc-common gd gd-devel -y

or

 # yum groupinstall "Development tools" -y

More details refer the link