Skip to content
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

fail install pillow on RHEL6 #58

Closed
vietkute02 opened this issue Feb 17, 2013 · 2 comments
Closed

fail install pillow on RHEL6 #58

vietkute02 opened this issue Feb 17, 2013 · 2 comments

Comments

@vietkute02
Copy link

when i try to install pillow on RHEL6 , i get an error :

sh: dpkg-architecture: command not found

building '_imaging' extension

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBZ -I/usr/include/freetype2 -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.6 -c _imaging.c -o build/temp.linux-x86_64-2.6/_imaging.o

_imaging.c:75:20: error: Python.h: No such file or directory

In file included from libImaging/Imaging.h:14,

             from _imaging.c:77:

.....
and long error bellow

please help me to fix it

@aclark4life
Copy link
Member

You are missing the Python development libraries, usually available via rpm installation of python-devel or something like that.

@vietkute02
Copy link
Author

oh ! , thanks you very much , i have solved my problem ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants