---
title: " error: command 'gcc' failed with exit status 1"
author: "fireinwind"
date: "2017-12-30T15:43:39Z"
tags: []
categories: ["开源软件"]
slug: "error-command-gcc-failed-with-exit-status-1"
draft: false
lastmod: "2017-12-30T15:43:39Z"
id: 2406210
url: "https://fireinwind.iteye.com/blog/2406210"
---

```
dfdf
```

  用安装python模块出现error: command 'gcc' failed with exit status 1 ，明明装了gcc的，怎么会不行呢，然后发觉是failed不是not found，这说明这个错误个gcc没多大关系，应该是缺少某些功能模块，然后谷歌了一下，先后安装了python-devel,libffi-devel后还是不行，最后发觉要安装openssl-devel才行

可如下命令行安装：

yum install gcc libffi-devel python-devel openssl-devel