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.
Download the precompiled packages here:
This worked for me, python 2.7 32 bit build.
If you're using 64bit Windows, download here, otherwise installation would fail.
Get a binary installer from http://code.google.com/p/gevent/downloads/list
See How can I set log level used by distutils when using pip?
pip
works for me on Windows 7 with 32-bit Python 2.7. You will need to install a C compiler and add adisutils.cfg
file to\Lib\disutils
under your Python install directory. I have Ming installed and mydisutils.cfg
looks like this:Latest version has pre-compilled wheel: