I'm trying to install gevent on Windows. In order to do that, I've downloaded and compiled libevent, then I run pip install gevent
and get an error: Please provide path to libevent source with --libevent DIR
. How can I pass the libevent
option to setup.py
using pip
?
Thanks in advance, Ivan.
UPD: running pip install gevent --install-option="--libevent path_to_libevent"
gives the same result.
gevent is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop. Features include: Fast event loop based on libev or libuv. Lightweight execution units based on greenlets.
pywsgi – A pure-Python, gevent-friendly WSGI server. A pure-Python, gevent-friendly WSGI server. The server is provided in WSGIServer , but most of the actual WSGI work is handled by WSGIHandler — a new instance is created for each request.
gevent is a coroutine-based cooperative multitasking python framework that relies on monkey patching to make all code cooperative. Gevent actually draws its lineage from Eve Online which was implemented using Stackless Python which eventually evolved into eventlet which inspired gevent.
Get a binary installer from http://code.google.com/p/gevent/downloads/list
Download the precompiled packages here:
This worked for me, python 2.7 32 bit build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With