1、重试几次,网络没问题的话会成功的;2、换个数据源,比如用豆瓣的数据源: pip3 install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com django==1.11.223、使用的命令
pip3 install xxx --default-timeout=1000
4.安装指定版本
pip3 install locust==2.8.6