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

最新文章

  1. python 实现树结构的打印
  2. IOS - 控件的AutoresizingMask属性
  3. 解决方案:Resharper对系统关键字提示‘can not resolve symbol XXX’,并且显示红色,但是编译没有问题
  4. JAVA基础学习day13--String、StringBuilder与StringBuffer与包装类
  5. Android(java)学习笔记200:Android中View动画之 XML实现 和 代码实现
  6. runtime error ?
  7. keil c51 本變數型態(Variable Type)
  8. js中的eval方法转换对象时,为何一定要加上括号?
  9. ReactiveSwift日常运用<一>
  10. DL4NLP——词表示模型(三)word2vec(CBOW/Skip-gram)的加速:Hierarchical Softmax与Negative Sampling
  11. 易云捷讯MySQL云数据库上线,推进IaaS与PaaS融合战略布局
  12. Mybatis入门1
  13. JavaScript HTML DOM - 改变 CSS
  14. Data Persistence
  15. Postfix 邮件服务 - DNS服务
  16. opencv——对象提取与测量
  17. ubuntu 安装python3.6.6
  18. centeros php 实战
  19. 使用Git分支开发新特性或修复Bug与使用Git分支开发新特性或修复Bug
  20. 【UVa】11882 Biggest Number(dfs+剪枝)

热门文章

  1. 使用IntelliJ IDEA工具创建SSM(Spring+MyBatis)项目
  2. 个推用户画像产品(个像)iOS集成实践
  3. Eclipse Neon安装指导
  4. python命名空间与闭包函数详解
  5. [六字真言]2.嘛.异常定制和通用.md
  6. Spark记录-Scala类和对象
  7. MYSQL——root密码更换
  8. 蓝桥杯 带分数 DFS应用
  9. Python字符串颜色输出
  10. Oozie 生成JMS消息并向 JMS Provider发送消息过程分析