VPS侦探论坛

标题: error: command 'gcc' failed with exit status 1 的解决办法 [打印本页]

作者: licess    时间: 2013-2-26 17:01
标题: error: command 'gcc' failed with exit status 1 的解决办法
用pip安装软件时提示: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这样就行了




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4