'gcc' failed with exit status 1 while trying to install gevent-websocket
gevent/libevent.h:9: fatal error: event.h: No such file or directory
Install the libevent development package for your distro.
Under Ubuntu, it's libevent-dev
.
If you are on Ubuntu type the following:
sudo apt-get install libevent-dev
pip install gevent