如何在Windows上安装gevent? [英] How to install gevent on Windows?
本文介绍了如何在Windows上安装gevent?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在Windows上安装gevent.为此,我已经下载并编译了libevent,然后运行pip install gevent
并得到一个错误:Please provide path to libevent source with --libevent DIR
.如何使用pip
将libevent
选项传递给setup.py
?
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
?
预先感谢,伊万.
UPD:运行pip install gevent --install-option="--libevent path_to_libevent"
会得到相同的结果.
UPD: running pip install gevent --install-option="--libevent path_to_libevent"
gives the same result.
推荐答案
从 http://code.google.com/p/gevent/downloads/list
这篇关于如何在Windows上安装gevent?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文