Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Mac OS X Lion中的Gevent安装错误_Python_Macos_Osx Lion_Gevent - Fatal编程技术网

Python Mac OS X Lion中的Gevent安装错误

Python Mac OS X Lion中的Gevent安装错误,python,macos,osx-lion,gevent,Python,Macos,Osx Lion,Gevent,尝试使用pip安装gevent安装gevent,并尝试从源代码编译。这两次安装都因以下错误而停止 /usr/local/include/evhttp.h:223:错误:“ev_int64_t”之前应为说明符限定符列表 我已将libevent安装在/usr/local/lib中,并在安装过程中提取它。任何帮助都将不胜感激 -阿维纳什我也遇到了这个错误。我认为这是由于libev和libevent之间的冲突,在我的案例中,libev-4.11和libevent-1.4.14b。libev将/usr/l

尝试使用pip安装gevent安装gevent,并尝试从源代码编译。这两次安装都因以下错误而停止

/usr/local/include/evhttp.h:223:错误:“ev_int64_t”之前应为说明符限定符列表

我已将libevent安装在/usr/local/lib中,并在安装过程中提取它。任何帮助都将不胜感激


-阿维纳什

我也遇到了这个错误。我认为这是由于libev和libevent之间的冲突,在我的案例中,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:错误:“ev_int64_t”之前应为说明符限定符列表


在删除libev并重新安装libevent之后,我能够使用easy_install安装gevent。

我也遇到了这个错误。我认为这是由于libev和libevent之间的冲突,在我的案例中,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:错误:“ev_int64_t”之前应为说明符限定符列表

在删除libev并重新安装libevent之后,我能够使用easy_install安装gevent