Mac install locust by pip in error of gevent
See original GitHub issueMy Mac is 10.11.4, and install libevent with brew was OK, but install lucust with commands below are all failed in gevent.
pip install locustio
or
sudo pip install locustio
and the error message, please check below.
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-yqcZWg/gevent/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-MKMr18-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-yqcZWg/gevent/
any others I missed to install locust?
thanks.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
ERROR: Failed building wheel for gevent when installing Locust
I found the solution to this issue, the gevent 22.10.1 is just released yesterday (Released: Oct 15, 2022) causes the problem. I installed...
Read more >Installation — Locust 0.14.3 documentation
Locust is available on PyPI and can be installed with pip. ... be fixed by first installing the pre built binary packages for...
Read more >What is gevent? — gevent 22.10.3.dev0 documentation
gevent is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or...
Read more >locust - PyPI
Locust makes it easy to run load tests distributed over multiple machines. It is event-based (using gevent), which makes it possible for a...
Read more >Setup Locust (Python/load testing) on Windows - Qxf2 BLOG
I got the below error when install locust using pip install locustio. building 'gevent.corecext' extension error: Microsoft Visual C++ 9.0 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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. https://github.com/locustio/locust/pull/335
You can try this before installing locust 0.7.4
CFLAGS='-std=c99' pip install gevent==1.0.1
https://github.com/gevent/gevent/issues/656centos 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/