当我尝试使用PIP安装在Ubuntu grequests:试图在Ubuntu上安装grequests?
sudo pip install grequests
我得到这个错误,但我的gcc似乎罚款:
In file included from gevent/core.c:253:0:
gevent/libevent.h:9:19: fatal error: event.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
应该是'apt-get的安装python -gevent'而不是'apt-get intall python-gevent'。小错字:) – daniula