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这样就行了
本文共 284 字,大约阅读时间需要 1 分钟。
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这样就行了
转载于:https://blog.51cto.com/881955/1664743