关于configure: error: no acceptable C compiler found in $PATH
2024-10-08 13:26:25
Linux系统在安装python3的时候报错:
$ ./configure --prefix=/usr/local/python3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for python3.6... no
checking for python3... no
checking for python... python
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... linux
checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/ec2-user/Python-3.6.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
解决方法:
$sudo yum install gcc
过程中输入y
完成安装后再运行
$./configure --prefix=/usr/local/python3
最新文章
- python 实现树结构的打印
- IOS - 控件的AutoresizingMask属性
- 解决方案:Resharper对系统关键字提示‘can not resolve symbol XXX’,并且显示红色,但是编译没有问题
- JAVA基础学习day13--String、StringBuilder与StringBuffer与包装类
- Android(java)学习笔记200:Android中View动画之 XML实现 和 代码实现
- runtime error ?
- keil c51 本變數型態(Variable Type)
- js中的eval方法转换对象时,为何一定要加上括号?
- ReactiveSwift日常运用<;一>;
- DL4NLP——词表示模型(三)word2vec(CBOW/Skip-gram)的加速:Hierarchical Softmax与Negative Sampling
- 易云捷讯MySQL云数据库上线,推进IaaS与PaaS融合战略布局
- Mybatis入门1
- JavaScript HTML DOM - 改变 CSS
- Data Persistence
- Postfix 邮件服务 - DNS服务
- opencv——对象提取与测量
- ubuntu 安装python3.6.6
- centeros php 实战
- 使用Git分支开发新特性或修复Bug与使用Git分支开发新特性或修复Bug
- 【UVa】11882 Biggest Number(dfs+剪枝)