Setup script exited with error: command 'gcc' failed with exit status 1
由于没有正确安装Python开发环境导致。
Debin/Ubuntu
Python2
sudo apt-get install python-dev
Python3
sudo apt-get install python3-dev
可能需要libevent库
sudo apt-get install libevent-dev
Centos/Fedora
sudo yum install python-devel
sudo yum install libevent-devel
easy_install gevent
或者
pip install gevent
转载于:https://my.oschina.net/u/1433006/blog/1612797