1. error: command 'gcc' failed with exit status 1 

Info:用pip安装软件时提示:error: command 'gcc' failed with exit status 1

    easy_install也提示一样的错误:error: Setup script exited with error: command 'gcc' failed with exit status 1

DO:一般是缺少python-dev包,apt-get install python-dev或yum install python-devel这样就行了。
 

2. error: cannot find command 'hg'

Info:pip install hg+http://*********
DO: sudo apt-get install mercurial
posted on 2014-03-17 14:15  土豆饼  阅读(203)  评论(0编辑  收藏  举报