-
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
Unable to install on windows #1254
Comments
Hi! Have you tried installing Build Tools for Visual Studio? Maybe your issue is similar to #1208 |
Hmm, there seems to be prebuilt wheels for gevent, so I don't understand why it tries to build it from scratch. What's the command you run when you try to install Locust? |
@heyman We’re still on 1.5a2 though, and that one doesnt appear to have windows-wheels. Maybe we should upgrade? |
Aah, good catch! Yes, we should definitely do that. |
I tried installing build tools didn't work |
@scottkirwanthomas I updated gevent version (on master, without a PR, like a boss. I did test it though...) Try installing it like this (while waiting for a new release), and let us know if it works:
|
Will do when I'm back in work tomorrow |
I've tried running the above command, it gave me the following: ERROR: Exception: |
That looks super weird. Maybe the permissions on your site-packages folder is wrong? I would suggest reinstalling python completely. |
That was my bad, not running the command prompt as administrator. That has now worked Thanks Muchly |
You're welcome :) |
Hi I tried the instruction provided above and running my command prompt in admin mode and getting the following error. Could somebody please help me here. pip3 install git+https://github.com/locustio/locust.git#egg=locustio |
Package name is locust nowadays, not locustio So: |
Thanks! @cyberw! |
Hi,
I'm unable to install on widows 10. I've tried python version 3.8 and downgraded to 3.7.6 as a colleague has successfully installed locust with this version.
It still fails. It always provides the following:
"ERROR: Could not build wheels for gevent which use PEP 517 and cannot be installed directly"
I've tried installing the compiled gevent as per the locust installation instructions but that doesnt work either.
I'm at a loss, please help.
Full Exception is:
The text was updated successfully, but these errors were encountered: