Mac OS X (Lion)에서 Python easy_install 사용시 생기는 문제 해결법
easy_install 로 psutil을 설치하려고 하는데 자꾸 이상한 에러가 뜹니다. /Developer/SDKs/MacOSX10.6.sdk/usr/include/float.h:8:24: error: float.h: No such file or directory lipo: can’t figure out the architecture type of: /var/folders/k0/_1q2y0yn45q3jk31_8lj9h_c0000gn/T//ccJA21sS.out error: Setup script exited with error: command ‘gcc-4.2′ failed with exit status 1 이런식으로 헤더 파일을 못찾거나 하는 에러가 발생할경우 다음 명령어를 입력하시면 됩니다. cd /usr/bin sudo cp gcc-4.2 [...]