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

前端 未结 10 690
灰色年华
灰色年华 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:59

    CFLAGS='-std=c99' pip install gevent
    

    See in: Can't install gevent OSX 10.11

    on OS X 10.11, clang uses c11 as the default, so just turn it back to c99.

提交回复
热议问题