安装
C:\Users\lifeng01>pip install locust
Collecting locust
Downloading locust-2.5.0-py3-none-any.whl (795 kB)
|████████████████████████████████| 795 kB 364 kB/s
Requirement already satisfied: msgpack>=0.6.2 in d:\python\python37\lib\site-packages (from locust) (1.0.2)
Requirement already satisfied: ConfigArgParse>=1.0 in d:\python\python37\lib\site-packages (from locust) (1.4)
Collecting geventhttpclient>=1.5.1
Downloading geventhttpclient-1.5.3-cp37-cp37m-win_amd64.whl (36 kB)
Requirement already satisfied: requests>=2.9.1 in d:\python\python37\lib\site-packages (from locust) (2.25.0)
Collecting pyzmq>=22.2.1
Downloading pyzmq-22.3.0-cp37-cp37m-win_amd64.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 252 kB/s
Collecting Flask-Cors>=3.0.10
Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: psutil>=5.6.7 in d:\python\python37\lib\site-packages (from locust) (5.8.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in d:\python\python37\lib\site-packages (from locust) (3.7.4.3)
Collecting Werkzeug>=2.0.0
Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB)
|████████████████████████████████| 288 kB 192 kB/s
Requirement already satisfied: Flask-BasicAuth>=0.2.0 in d:\python\python37\lib\site-packages (from locust) (0.2.0)
Requirement already satisfied: pywin32 in d:\python\python37\lib\site-packages (from locust) (228)
Collecting flask>=2.0.0
Downloading Flask-2.0.2-py3-none-any.whl (95 kB)
|████████████████████████████████| 95 kB 270 kB/s
Collecting roundrobin>=0.0.2
Downloading roundrobin-0.0.2.tar.gz (2.4 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: gevent>=20.9.0 in d:\python\python37\lib\site-packages (from locust) (21.1.2)
Collecting Jinja2>=3.0
Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 252 kB/s
Requirement already satisfied: click>=7.1.2 in d:\python\python37\lib\site-packages (from flask>=2.0.0->locust) (7.1.2)
Collecting itsdangerous>=2.0
Using cached itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Requirement already satisfied: Six in d:\python\python37\lib\site-packages (from Flask-Cors>=3.0.10->locust) (1.12.0)
Requirement already satisfied: zope.interface in d:\python\python37\lib\site-packages (from gevent>=20.9.0->locust) (5.3.0)
Requirement already satisfied: zope.event in d:\python\python37\lib\site-packages (from gevent>=20.9.0->locust) (4.5.0)
Requirement already satisfied: setuptools in d:\python\python37\lib\site-packages (from gevent>=20.9.0->locust) (41.2.0)
Requirement already satisfied: cffi>=1.12.2 in d:\python\python37\lib\site-packages (from gevent>=20.9.0->locust) (1.14.5)
Requirement already satisfied: greenlet<2.0,>=0.4.17 in d:\python\python37\lib\site-packages (from gevent>=20.9.0->locust) (1.0.0)
Requirement already satisfied: certifi in d:\python\python37\lib\site-packages (from geventhttpclient>=1.5.1->locust) (2020.4.5.1)
Requirement already satisfied: brotli in d:\python\python37\lib\site-packages (from geventhttpclient>=1.5.1->locust) (1.0.9)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\python\python37\lib\site-packages (from requests>=2.9.1->locust) (1.26.2)
Requirement already satisfied: idna<3,>=2.5 in d:\python\python37\lib\site-packages (from requests>=2.9.1->locust) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in d:\python\python37\lib\site-packages (from requests>=2.9.1->locust) (3.0.4)
Requirement already satisfied: pycparser in d:\python\python37\lib\site-packages (from cffi>=1.12.2->gevent>=20.9.0->locust) (2.20)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.0.1-cp37-cp37m-win_amd64.whl (14 kB)
Using legacy 'setup.py install' for roundrobin, since package 'wheel' is not installed.
Installing collected packages: MarkupSafe, Werkzeug, Jinja2, itsdangerous, flask, roundrobin, pyzmq, geventhttpclient, Flask-Cors, locust
Attempting uninstall: MarkupSafe
Found existing installation: MarkupSafe 1.1.1
Uninstalling MarkupSafe-1.1.1:
Successfully uninstalled MarkupSafe-1.1.1
Attempting uninstall: Werkzeug
Found existing installation: Werkzeug 1.0.1
Uninstalling Werkzeug-1.0.1:
Successfully uninstalled Werkzeug-1.0.1
Attempting uninstall: Jinja2
Found existing installation: Jinja2 2.11.2
Uninstalling Jinja2-2.11.2:
Successfully uninstalled Jinja2-2.11.2
Attempting uninstall: itsdangerous
Found existing installation: itsdangerous 1.1.0
Uninstalling itsdangerous-1.1.0:
Successfully uninstalled itsdangerous-1.1.0
Attempting uninstall: flask
Found existing installation: Flask 1.1.2
Uninstalling Flask-1.1.2:
Successfully uninstalled Flask-1.1.2
Running setup.py install for roundrobin ... done
Attempting uninstall: pyzmq
Found existing installation: pyzmq 22.0.3
Uninstalling pyzmq-22.0.3:
Successfully uninstalled pyzmq-22.0.3
Attempting uninstall: geventhttpclient
Found existing installation: geventhttpclient 1.4.4
Uninstalling geventhttpclient-1.4.4:
Successfully uninstalled geventhttpclient-1.4.4
Successfully installed Flask-Cors-3.0.10 Jinja2