您的位置:首页 > 编程语言 > Python开发

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

2017-03-20 15:55 961 查看
今天在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后正常。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐