-
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
Issue installing on M1 Mac #2249
Comments
I think this is the core of your problem: Or try googling the error message in combination with gevent. You could also try I'm sorry people running on apple silicon are having so many issues, but there isn't a lot we can do on the locust side. I'm getting an M1 soon and then I might have some more experience :-P |
Hi @cyberw! First of all, thanks for your fast and thorough response. I did what you told me but, to be honest with you, M1/2 is filled with rabbit holes like this one and it's crazy the amount of time and effort that goes with every single issue. I hope for a better and/or easier way to deal with these problems in the future so this doesn't happen anymore :D For the time being, I have an Ubuntu 22.04 virtual machine running (not a simple installation, you can google about it and it's not as straightforward but it's possible!) with I don't know if I can call it a fix, but honestly, I have been dealing with these issues on all my tools for the past 2 years and I'm tired. I can try and do more debugging and share more logs in here if you want, but for now, it's working and I'm doing progress with Locust (awesome tool!). Please close the issue if it's appropriate. Again, thank you so much for your response! Here are the two |
Glad that you found a workaround. Yea, I guess its not the package versions that is the issue, I think it is (for some reason) getting the wrong build (architecture) of them. I guess we can close this for now. I’ll look at it once i get my M1 |
Hey @cyberw! Good news! Also, for everyone using an ARM-based Mac, I found the command that not only fixed Locust's installation, but it helped me on other projects, perhaps it's useful in the future:
As it compiles everything from source (I assume) there's no way for a dependency to be other architecture! I'm happily back on track working without a VM :) I still wanted to thank you so much! And sorry for the not-locust-specific issue, I hope this can help others running into the same problems in the future :) |
Awesome! |
Describe the bug
Default Locust installation is not working under M1 Mac.
Already read:
I tried switching
gevent
versions to those shown on those PRs comments but failed to install (clang
compiler issues on other packages) on my machine. I include a log of the issue on the Steps to Reproduce, but here's apip freeze
's output:Expected behavior
Locust to be installed and working on ARM-based Mac.
Actual behavior
Shows an issue with g-event.
Steps to reproduce
My assumption is that I need to lock some dependencies versions (
gevent
from what I read) in order to make it work but I'm unsure as to how to find the ones that should/would work on my setup. Also I tried updatingpip
to the patch version bump, but it made no difference on resolvinggevent
's version.Environment
locust
(expected help and/or error message)The text was updated successfully, but these errors were encountered: