當我嘗試使用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