Skip to content
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

Problems installing on Mac 10.11.6 #483

Closed
colemast opened this issue Sep 25, 2016 · 6 comments
Closed

Problems installing on Mac 10.11.6 #483

colemast opened this issue Sep 25, 2016 · 6 comments

Comments

@colemast
Copy link

Hi

I have used locust before on OS 10.9 but I have just been trying to set up on 10.11.6 (El Capitan) and I am getting the error Illegal instruction: 4 whenever I try to run locust. This seems to be related to binaries being not compiled with the right compiler flags. I have reinstalled libevent after updating homebrew but this seemed to have no effect. Has anyone else encountered this problem?

@heyman
Copy link
Member

heyman commented Sep 26, 2016

Are you using an old virtualenv? If so, or if you're not using one at all, I would try with a fresh one to see if it helps.

@heyman
Copy link
Member

heyman commented Oct 7, 2016

Closing. Feel free to re-open.

@heyman heyman closed this as completed Oct 7, 2016
@jaynakus
Copy link

jaynakus commented Jan 4, 2017

Same here... upgraded virtualenv to the latest but no cure.

@heyman
Copy link
Member

heyman commented Jan 4, 2017

@jaynakus Did you create a whole new virtualenv and re-installed locust into it? It's not enough to just upgrade to the latest virtualenv version.

@hazelement
Copy link

hazelement commented Mar 10, 2017

same here. Running on EI Captain and brand new virtualenv with just locust...

Just to clarify this more.

After I run, locust --help, it prints out Illegal instruction: 4. And then a system dialog shows up and says Python quit unexpectedly.

@hazelement
Copy link

I seemed to figure it out. It's an issue with the python gevent library, see here https://github.com/gevent/gevent/issues/791 You need to install it separately before hand.

Current version of Locust seems to be using gevent 1.1.1, install it withpip install gevent==1.1.1 —no-binary :all:

Then install locust with pip install locustio. That should do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants