error: command ‘gcc’ failed with exit status 1
通常由于没有安装python开发环境导致。
Debian/Ubuntu
python2
apt-get install python-dev
python3
apt-get install python3-dev
libevent库
apt-get install libevent-dev
Fedora/CentOS
yum install python-devel
yum install libevent-devel
pip install gevent
网友评论