[Image-SIG] How to tell Pillow where to look for header files (on OS X)?

Bruce Johnson johnson at pharmacy.arizona.edu
Fri Mar 15 22:13:52 CET 2013


On Mar 15, 2013, at 1:44 PM, Felix Schwarz <felix.schwarz at oss.schwarz.eu> wrote:

> Hey,
> 
> how can I specify the include dir for header files (jpeglib.h) for Pillow
> without modifying the source?
> 
> I'm on OS X (Mountain Lion) and installed libjpeg using homebrew. There is a
> 'jpeglib.h' file in ~/homebrew/include but 'python setup.py build' still says
> 'no jpeg support'.
> 
> Any ideas/pointers?

Make sure ~/homebrew/include is on your $PATH?

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs




More information about the Image-SIG mailing list