Mac OS X Lion中的Gevent安装错误
问题描述:
尝试使用pip install gevent安装gevent,并尝试从源代码编译。由于以下错误,安装的时间都停止了。Mac OS X Lion中的Gevent安装错误
/usr/local/include/evhttp.h:223:错误: 'ev_int64_t' 之前预计符限定符列表
我已经LIBEVENT安装在/ usr/local/lib目录,并在其被拾起安装。任何帮助将不胜感激。
-Avinash
答
我也遇到了这个错误。我认为这是由于自由和自由之间的冲突(在我的例子中,libev-4.11和libevent-1.4.14b)。 libev取代/usr/local/include/event.h
和/usr/local/include/evutil.h
与它自己版本的文件,并试图编译错误的版本从libev结果GEVENT:
/usr/local/include/evhttp.h:223: error: expected specifier-qualifier-list before ‘ev_int64_t’
删除libev并重新安装了libevent后,我能够安装GEVENT使用easy_install。