Skip to main content

error: command 'gcc' failed with exit status 1 while installing eventlet[Solved] for centos or ubuntu

Solution :
Install python-devel using following command.
yum install python-devel

FYI, OS I was running.
# uname -a 
Linux Dell620 2.6.32-220.17.1.el6.x86_64 #1 SMP Wed May 16 00:01:37 BST 2012 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release 
CentOS release 6.2 (Final)

for Ubuntu
use the following command 
aptitude install python-dev

Comments