-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac install locust by pip in error of gevent #421
Comments
That gevent version lock is causing problems with OSX. I have run locust without any problems with gevent versions 1.1.1 and 1.1X in OSX but maybe that 1.1b4 had some bugs that was causing problems with locust. #335 You can try this before installing locust 0.7.4 |
@molsky sudo CFLAGS='-std=c99' pip install gevent==1.0.1 Please help to close this issue. |
Re #335: Yes, there was a brief backwards incompatibility introduced with gevent 1.1b4. It was fixed in 1.1b5 and subsequent. We've had other reports that gevent 1.1.1 works fine. Given that the version pin here (1.0.1) breaks on Python >= 2.7.9 due to the SSL changes, plus many other issues like this one, I would recommend installing 1.1.1 instead. |
I just realized today that my benchmark jobs totally broke down with locustio 0.7.4 because of the gevent issue with python >= 2.7.9. I do think it is imperative that locustio specifies gevent 1.1.1 in its setup.py. |
I've issued a new PyPI release which uses gevent 1.1.1. |
centos 7.2 has this issue too Command "/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-hvdDPL/gevent/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-4XdmYt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-hvdDPL/gevent/ |
My Mac is 10.11.4, and install libevent with brew was OK, but install lucust with commands below are all failed in gevent.
or
and the error message, please check below.
any others I missed to install locust?
thanks.
The text was updated successfully, but these errors were encountered: