我正在尝试使用dev版本的python 2.7.2在RHEL 4.8上安装gevent 我已经安装了libevent2-2.0.10(开发版)和greenlet。
当我做sudo pip install gevent时,我收到以下错误:
gevent/core.c: In function `__pyx_pf_6gevent_4core_17http_request_base_12get_input_headers':
gevent/core.c:10388: warning: implicit declaration of function `TAILQ_FIRST'
gevent/core.c:10388: warning: assignment makes pointer from integer without a cast
gevent/core.c:10494: warning: implicit declaration of function `TAILQ_NEXT'
gevent/core.c:10494: error: `next' undeclared (first use in this function)
有人知道这个错误的来源是什么吗?谢谢!
答案 0 :(得分:0)
尝试安装libevent-1.4.13-stable,这对我有用