1、进入python虚拟环境,pip install locustio
2、whereis locust 命令找到locust
3、虚拟环境安装的locust不会自动加入path,所以直接带上2中完整的路径执行