前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH

Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH

作者头像
周小董
发布2019-03-25 15:54:43
2.8K0
发布2019-03-25 15:54:43
举报
文章被收录于专栏:python前行者python前行者

安装python的时候出现如下的错误: [root@master ~]#./configure –prefix=/usr/local/python3.6 checking build system type… i686-pc-linux-gnu checking host system type… i686-pc-linux-gnu checking for –enable-universalsdk… no checking for –with-universal-archs… 32-bit checking MACHDEP… linux checking for –without-gcc… no checking for gcc… no checking for cc… no checking for cl.exe… no **configure: error: in /usr/local/src/pythonSoft/Python-3.3.4’: configure: error: no acceptable C compiler found in $PATH** See `config.log’ for more details

由于本机缺少gcc编译环境 1、通过yum安装gcc编译环境:yum install -y gcc 2、本机没有安装yum功能,可下载gcc安装包:https://gcc.gnu.org/

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2018年07月01日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档