Pillow virtualenv install fails: “command 'gcc-4.2' failed” [duplicate]
问题 This question already has answers here : gcc-4.2 failed with exit status 1 (8 answers) Closed 5 years ago . I am installing Mezzanine in a virtualenv. It fails at the Pillow installation with a gcc-4.2 related error of which this is an excerpt. I can actually install it successfully on my machine but not inside of a virtualenv. I want it in a venv however. What should I do? `decode.c:465: error: ‘COMPRESSION_SGILOG’ undeclared (first use in this function) decode.c:468: error: ‘COMPRESSION