How to install gevent on Windows?

前端 未结 6 1039
抹茶落季
抹茶落季 2021-02-05 15:41

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

6条回答
  •  攒了一身酷
    2021-02-05 16:11

    pip works for me on Windows 7 with 32-bit Python 2.7. You will need to install a C compiler and add a disutils.cfg file to \Lib\disutils under your Python install directory. I have Ming installed and my disutils.cfg looks like this:

    [build]
    compiler=mingw32
    

提交回复
热议问题