pip安装locust时报错-ERROR: Could not build wheels for gevent which use PEP 517 and cannot be installed

pip install locustio 安装 locustio

使用pip安装时可能会遇到:ERROR: Could not build wheels for gevent which use PEP 517 and cannot be installed directly

原因:可能时版本太高版本不匹配,导致无法安装

解决方法;

安装低版本的locust: pip install locustio<0.13.2

或者进入pycharmSettingsProject Interpreter,点击右侧+号搜索locust或者locustio

pip安装locust时报错-ERROR: Could not build wheels for gevent which use PEP 517 and cannot be installed_第1张图片

 

 

选择低版本的安装,就安装成功了。

打开locust的web界面,浏览器访问:http://127.0.0.1:8089 或 localhost:8089 

 

你可能感兴趣的:(Python从入门到实践,常见问题集锦)