centos7安装Python3.7,执行./configure时报错,configure: error: no acceptable C compiler found in $PATH
执行./configure时报错,configure: error: no acceptable C compiler found in $PATH
在安装python3.7,配置编译路径时会遇到以下问题:
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
查看得知没有找到合适的编译器。
可以使用下面的命令安装编译器,解决./configure时报错。
sudo yum install gcc-c++  # 使用sudo yum install gcc-c++时会自动安装/升级gcc及其他依赖的包
重新执行以下命令
./configure --prefix=/usr/local/python3
make
make install
centos7安装Python3.7,执行./configure时报错,configure: error: no acceptable C compiler found in $PATH的更多相关文章
- CentOS7.5安装Python3.7报错:configure: error: no acceptable C compiler found in $PATH   --Python3
		1.问题解析 报错信息中有这样一条:configure: error: no acceptable C compiler found in $PATH即:配置错误,在$path中找不到可接受的C编译器 ... 
- Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH
		安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system ... 
- 【linux】Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH
		安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system ... 
- 报错:configure: error: no acceptable C compiler found in $PATH
		运行以下命令报错: ./configure 错误: checking whether to enable maintainer-specific portions of Makefiles... ye ... 
- 报错configure:error: no acceptable C compiler found in $PATH。。
		报错configure:error: no acceptable C compiler found in $PATH.. 查看日志: 出错原因:新安装的linux系统,没有gcc库 解决方案:使用yu ... 
- CentOS上安装软件错误提示:configure: error: no acceptable C compiler found in $PATH
		CentOS上安装软件错误提示:configure: error: no acceptable C compiler found in $PATH 因为是centos linux,默认可以采用yum方 ... 
- 安装Python2.7出现configure: error: no acceptable C compiler found in $PATH错误
		安装Python2.7出现configure: error: no acceptable C compiler found in $PATH错误 安装步骤: 安装依赖 yum groupinstall ... 
- 关于configure: error: no acceptable C compiler found in $PATH
		Linux系统在安装python3的时候报错: $ ./configure --prefix=/usr/local/python3 checking build system type... x86_ ... 
- configure: error: no acceptable C compiler found in $PATH 解决
		在安装keepalived时报错 ./configure --prefix=/usr/local/ccbase/keepalived-2.0.15 && make && ... 
- CentOS编译安装Apache 2.4.x时报错:configure: error: Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.
		先前按照这篇文章“CentOS6.x编译安装LAMP(2):编译安装 Apache2.2.22”去编译安装Apache2.2.x版本时,安装得挺顺利,今天换成Apache2.4.x版本,安装方法一样, ... 
随机推荐
- 关于进程、线程、协程的概念以及Java中的应用
			进程.线程.协程 本文将从"操作系统"."Java应用"上两个角度来探究这三者的区别. 一.进程 在我本人的疑惑中,我有以下3个问题. 1.1为什么要引入进程? ... 
- JUC同步锁原理源码解析四----Semaphore
			JUC同步锁原理源码解析四----Semaphore Semaphore 1.Semaphore的来源 A counting semaphore. Conceptually, a semaphore ... 
- 【对比】ChatGPT Plus与ChatGPT实操对比体验
			前言 缘由 20美刀大洋充值ChatGPT Plus,必须分享让它物尽其用 应单位追求科技前沿需求,以及花钱就是香的原则.遂找了远在他乡的高中老同学,斥资20美刀为公司身先士卒怒充会员.秉承分享至上原 ... 
- C++面试八股文:用过STL吗?
			某日二师兄参加XXX科技公司的C++工程师开发岗位第21面: 面试官:用过STL吗? 二师兄:(每天都用好吗..)用过一些. 面试官:你知道STL是什么? 二师兄:STL是指标准模板库(Standar ... 
- Mybatis使用级联映射时 , 查询的结果为null
			错误原因 在学习多对一映射处理中的级联方式处理映射关系时 , 发现自己查询的结果有一个为为null 于是就开始对代码进行排查 , debug ,最终发现错误 , 原来是自己映射中的 property ... 
- 牛客题解-mixup2混乱的奶牛(状压dp)
			题解-mixup2混乱的奶牛 [原题连接](1026-mixup2混乱的奶牛_2021秋季算法入门班第八章习题:动态规划2 (nowcoder.com)) 题目描述 混乱的奶牛 [Don Piele, ... 
- WPF 入门笔记 - 04 - 数据绑定 - 补充内容:资源基础
			宇宙很大,生活更大,也许以后还有缘相见. --三体 该篇作为[WPF 入门笔记 - 04 - 数据绑定] - Additional Content 章节的补充内容 前言 XAML 资源概述 (WPF ... 
- 一个跨平台的`ChatGPT`悬浮窗工具
			一个跨平台的ChatGPT悬浮窗工具 使用avalonia实现的ChatGPT的工具,设计成悬浮窗,并且支持插件. 如何实现悬浮窗? 在使用avalonia实现悬浮窗也是非常的简单的. 实现我们需要将 ... 
- Hugging News #0703: 在浏览器中运行 Whisper 模型、WAIC 分论坛活动邀请报名
			每一周,我们的同事都会向社区的成员们发布一些关于 Hugging Face 相关的更新,包括我们的产品和平台更新.社区活动.学习资源和内容更新.开源库和模型更新等,我们将其称之为「Hugging Ne ... 
- 体细胞突变检测分析流程-系列1( WES&Panel)
			Sentieon●体细胞变异检测-系列1 Sentieon 致力于解决生物信息数据分析中的速度与准确度瓶颈,通过算法的深度优化和企业级的软件工程,大幅度提升NGS数据处理的效率.准确度和可靠性. ... 
