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

前端 未结 10 688
灰色年华
灰色年华 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条回答
  •  -上瘾入骨i
    2020-12-22 19:37

    This is the way I found the easiest:

    install libevent using homebrew

    $ brew install libevent
    

    install gevent

    $ pip install gevent
    

    This was the only way I could get it to work.

提交回复
热议问题