building 'pyev' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYEV_VERSION="0.5.3" -DLIBEV_VERSION="4.01" -I/usr/include/python2.6 -c src/pyev.c -o build/temp.linux-i686-2.6/src/pyev.o
src/pyev.c:47: fatal error: Python.h: 没有那个文件或目录
compilation terminated.
error: command 'gcc' failed with exit status 1
以上的错误是在安装eurasia的时候,终端中提示的错误信息,已经不是第一次安装了,可是还是忘记了错误的解决方法,查了下资料,总算是再次把它解决了,为了避免下次再忘记,记录于此,警醒自我:
解决方法:
安装 sudo apt-get install python-dev