How can I install the Python library 'gevent' on Mac OS X Lion

前端 未结 10 696
灰色年华
灰色年华 2020-12-22 19:03

Python library gevent, version 0.13.6 (the current version on PyPI) will not pip install on OS X Lion, Python 2.7 (and probably others.) It works f

10条回答
  •  粉色の甜心
    2020-12-22 19:51

    I had libevent installed via brew and it failed too, what worked was similar to what Stephen done, but pointing to brew default install:

    CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib pip install gevent

提交回复
热议问题