pip安装报错:ERROR: Could not build wheels for psutil

参考:https://github.com/giampaolo/psutil/issues/1143

我这里ubuntu系统
解决方法:依据自己python版本安装,比如这里3.7版本

sudo apt install python3.7-dev
pip3 install psutil