próbuję zainstalować gevent-websocket dla Pythona (http://www.gelens.org/code/gevent-websocket/), ale kiedy Uruchomę easy_install gevent-websocket Otrzymuję "polecenie" gcc "nie powiodło się ze stanem wyjścia 1".„gcc” nie powiodło się ze stanem wyjściowym 1 podczas próby zainstalowania gevent-websocket
Poniżej znajduje się pełne wyjście z terminala.
[email protected]:~/Desktop/Code$ sudo easy_install gevent-websocket
install_dir /usr/local/lib/python2.6/dist-packages/
Searching for gevent-websocket
Best match: gevent-websocket 0.3.4
Processing gevent_websocket-0.3.4-py2.6.egg
gevent-websocket 0.3.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.6/dist-packages/gevent_websocket-0.3.4-py2.6.egg
Processing dependencies for gevent-websocket
Searching for gevent
Reading http://pypi.python.org/simple/gevent/
Reading http://www.gevent.org/
Reading http://gevent.org/
Best match: gevent 0.13.6
Downloading http://pypi.python.org/packages/source/g/gevent/gevent-0.13.6.tar.gz#md5=7c836ce2315d44ba0af6134efbcd38c9
Processing gevent-0.13.6.tar.gz
Running gevent-0.13.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zChaNp/gevent-0.13.6/egg-dist-tmp-cPxcYh
In file included from gevent/core.c:225:
gevent/libevent.h:9: fatal error: event.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
[email protected]:~/Desktop/Code$
ja również uzyskać ten sam błąd, gdy próbuje zainstalować pip, więc jestem trochę pojęcia o tym, co robić dalej. Wynik mówi, że "gevent-websocket 0.3.4 jest już aktywną wersją w easy-install.pth" i nie jestem pewien co to oznacza, ale wiem, że jeśli spróbuję importować gevent lub geventwebsocket, to mówi moduł nie istnieje.