关于command 'gcc' failed w

2018-11-29  本文已影响20人  dshowing

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
上一篇下一篇

猜你喜欢

热点阅读