安装python 时出现no acceptable C compiler found in $PATH问题

来源:互联网 发布:淘宝要五星好评话术 编辑:程序博客网 时间:2024/06/03 22:44

   今天在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后gh
0 0
原创粉丝点击