Official Tutorial: https://docs.locust.io/
1. locust installation
Install the windows locust
PIP install locustio == 0.11 . 0 # specify locustio install version 0.11.0
Installation Problems encountered: In general, you can use pip install locustio installation locust (installed in this way is the latest locust), different versions of the locust there are strict requirements dependencies and python version, because I was local 3.6python and the new locust was dependent 3.8python, leading to pip install locustio way it has been unable to successfully install locust, so then I choose the low version of locustio installation is installed successfully. locust historical version Reference Address: https://pypi.org/project/locustio/#history