今天在linux虚拟机上安装python3.6.0版本出现以下错误,错误如下,
[root@abc Python-3.6.0]#./configure --prefix=/usr/local/python-3.6.0
******
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
百度查了一下错误原因说是gcc未安装导致,使用yum安装gcc后,在重先安装python3.6.0后正常。