1、在安装psutil跨平台库的过程中报错

error: command 'gcc' failed with exit status 1

easy_install也提示一样的错误:error: Setup script exited with error: command 'gcc' failed with exit status 1
一般是缺少python-dev包
apt-get install python-dev或yum install python-devel这样就行了