2009-11-29 17 views
13

Sto provando a configurare un ambiente di sviluppo su un nuovo laptop, sto provando sudo easy_install PIL dopo aver impostato setuptools e python ecc., Ottengo questo errore. Setup script exited with error: command 'gcc' failed with exit status 1easy_install PIL failed

Ho installato gcc e build_essentials su Ubuntu Karmic. Tracciamento completo è http://dpaste.de/fHiW/

risposta

28

È necessario installare il pacchetto python-dev che include i file di intestazione CPython necessari per compilare le estensioni C.