1. 程式人生 > >解決報錯:no acceptable C compiler found in $PATH when installing python

解決報錯:no acceptable C compiler found in $PATH when installing python

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