Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-fu53uslz/xgboost/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-0ajiywgq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-fu53uslz/xgboost/
解决方法:
sudo python3 -m pip install -U pip
pip install -upgrade pip
pip install locust