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
    
  • openSUSE base:

     zypper install --type pattern devel_basis
    
  • Alpine:

     apk add build-base
    

Leave a Comment