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

或者進入pycharm👉Settings👉Project Interpreter,點擊右側+號搜索locust或者locustio

 

 

選擇低版本的安裝,就安裝成功了。

打開locust的web界面,瀏覽器訪問:http://127.0.0.1:8089 或 localhost:8089 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章