Closed ecc256 closed 5 years ago
Do you get the same error if you just do pip install gevent? If so it is an issue with gevent and can probably not be solved in locust...
Lars,
Yep, same error...
gevent
is included in locust setup, right?
Yup, it is a core component of locust.
If gevent doesnt work in conda then there isn't much we can do. Maybe you can file a bug on gevent? https://github.com/gevent/gevent
Gevent & Locust does work in Anaconda. I just tested it within a Ubuntu 18.04 docker container (Anaconda 2019.10, Python 3.7). I think this might be a Windows related issue.
gevent
works in Anaconda 2019.10, Python 3.8 @ Ubuntu 18.04 without container too.
Need gcc installed to build it.
Found the root issue, solution is here:
Basically, the install sequence should be:
pip install git+git://github.com/gevent/gevent@master
pip install git+git://github.com/gwik/geventhttpclient@master
pip install locust
Edited The following will do too:
pip install git+git://github.com/gevent/gevent@master
pip install locust
@ecc256 Thanks!
Describe the bug
Cannot install locust into conda env with python 3.8.0
Steps to reproduce
Error log: