-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing on OS X 10.8.1 fails with "'Python.h' file not found" #10
Comments
This usually means you have some libs somewhere pillow does not know about. I have OS X, let me see if I can reproduce. |
I can't reproduce this on a clean install |
Hi, i have the same problem on a cleaning OS X 10.8.2.
Thanks for your time. |
Your problem is actually a different error message, Alex. Your error is "unable to execute clang: No such file or directory". This probably means you don't have the developer tools installed. |
Sorry, thanks for the fast response. I read the last line and thought it was similar. |
You need to install the command-line tools as shown here: http://stackoverflow.com/questions/9329243/xcode-4-4-command-line-tools |
Great! Thanks again. |
Return fresh image is no mode specified and cached version otherwise
Small optimisation: move distance==0 comparison to outer loop
Changed list of single items dictionaries to dictionary
…27922 Update changelogs with fixes that were already in, BE-584, BE-151, BE…
When trying to install Pillow, I run "sudo easy_install pillow", and receive the below. I ended up installing Pil instead, which gave the same error until I manually specified where to find the libraries (as described here: http://stackoverflow.com/questions/12180225/how-do-i-build-pil-on-os-x-mountain-lion/12180993#comment16321068_12180993 ).
Searching for pillow
Reading http://pypi.python.org/simple/pillow/
Reading http://github.com/collective/Pillow
Reading http://github.com/collective/pillow
Reading http://github.com/Pillow
Reading http://github.com/python-imaging/Pillow
Best match: Pillow 1.7.7
Downloading http://pypi.python.org/packages/source/P/Pillow/Pillow-1.7.7.zip#md5=0617fae88d62422b878906a3c394c687
Processing Pillow-1.7.7.zip
Running Pillow-1.7.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-VYWTNa/Pillow-1.7.7/egg-dist-tmp-fmLDmb
warning: no previously-included files found matching '.hgignore'
warning: no previously-included files found matching '.hgtags'
warning: no previously-included files found matching 'BUILDME.bat'
warning: no previously-included files found matching 'make-manifest.py'
warning: no previously-included files found matching 'SHIP'
warning: no previously-included files found matching 'SHIP.bat'
warning: no previously-included files matching '*' found under directory 'Tests'
--- using frameworks at /System/Library/Frameworks
clang: warning: argument unused during compilation: '-mno-fused-madd'
_imaging.c:75:10: fatal error: 'Python.h' file not found
include "Python.h"
1 error generated.
error: Setup script exited with error: command 'clang' failed with exit status 1
The text was updated successfully, but these errors were encountered: