编辑Python时, 出现: no acceptable C compiler found in $PATH 的解决方法

准备学习Python. 2011年11月17日19时05分39秒

如果你在Ubuntu下编辑Python时, 出现了:

configure: error: in `/home/paul/python/Python-2.7.2′:
configure: error: no acceptable C compiler found in $PATH

Python 编辑出错和解决方法

 

则在终端运行这个命令即可解决: sudo aptitude install build-essential