gevent安装错误:未声明“next”(首次在此函数中使用)

2024-10-02 02:35:10 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在RHEL4.8上安装gevent,开发版本为Python2.7.2。
我已经安装了libevent2-2.0.10(dev版本)和greenlet。在

当我执行sudo pip安装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)

有人知道这个错误的来源吗?谢谢!在


Tags: pipofcoredev版本错误sudogevent

热门问题