tar -zxvf psutil-2.1.3.tar.gz
cd psutil-2.1.3
python setup.py install
安装是出现报错
error: command 'gcc' failed with exit status 1
解决办法
yum install gcc python-devel
重新安装
python setup.py install
安装成功
wget https:
//pypi
.python.org
/packages/source/p/psutil/psutil-2
.1.3.
tar
.gz