1. 安装pip

  2. 安装setuptools

  3. 安装psutil遇到问题

    error: command 'gcc' failed with exit status 1

    

yum -y install gcc-c++ python-devel

这个安装了就可以安装psutil