用命令easy_install amfast安装,最后总是提示:
error: Setup script exited with error: command 'gcc' failed with exit status 1
这个页面:
http://www.rmansuri.net/2009/11/20/setup-script-exited-with-error-command-gcc-failed-with-exit-status-1/
上给出了解决办法,要先安装python-dev:
apt-get install python-dev
然后再用easy_install 安装amfast就可以了。
对于python-dev包比较好奇,Google了一下,能打开的页面不多(全被墙了),只知道里面似乎有个python.h文件。了解的还请解答~
error: Setup script exited with error: command 'gcc' failed with exit status 1
这个页面:
http://www.rmansuri.net/2009/11/20/setup-script-exited-with-error-command-gcc-failed-with-exit-status-1/
上给出了解决办法,要先安装python-dev:
apt-get install python-dev
然后再用easy_install 安装amfast就可以了。
对于python-dev包比较好奇,Google了一下,能打开的页面不多(全被墙了),只知道里面似乎有个python.h文件。了解的还请解答~