install gevent in old centos release

error: command '/usr/bin/gcc' failed with exit code 1

error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

export CPPFLAGS='-std=gnu++11'
pip install gevent

 

some error ends with [-fpermissive]

export CPPFLAGS='-std=gnu++11 -fpermissive'
pip install gevent

 

posted @ 2022-12-02 11:10  QQQnull  阅读(31)  评论(0编辑  收藏  举报