Tuesday, March 17, 2015

psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory

psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory

bu hata icin yapilmasi gereken cozum basit

psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory
compilation terminated.

hatanın nedeni python development paketlerinin eksik olması. Bunun için de

$ sudo apt-get install python-dev

oylelikle hatadan kurtulmuş oluruz