error: command 'gcc' failed with exit status 1

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
相关文章
相关标签/搜索