python 모듈 설치하는데 아래와 같이 뜨더군요



gcc-pthread -fno-strict-aliasing-DNDEBUG -g-fwrapv -O2 -Wall -Wstrict-prototypes-fPIC -I/usr/include/python2.7 -c lib/sqlalchemy/cextension/processors.c -o build/temp.linux-x86_64-2.7/lib/sqlalchemy/cextension/processors.o

lib/sqlalchemy/cextension/processors.c:10:20: fatal error:Python.h:Nosuchfileor directory

compilation terminated.

***************************************************************************

command'gcc'failed withexit status1

WARNING: TheC extension could not be compiled,speedups arenot enabled.

Failure information,ifany,is above.

Retrying the buildwithout the C extensionnow.

***************************************************************************


python-dev만 설치해주면 간단히 해결됩니다


sudo apt-get install python-dev


+ Recent posts