-
-
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
Python 3.2 Encoder JPEG not available #41
Comments
The selftest had an error and is showing wrong results, the other thing is just strange. I should work. |
Exactly the same bug here with Python 3.2.3 and Ubuntu 12.10. I installed libjpeg8 and libjpeg8-dev to enable JPEG support, but there is an error saying jpeg encoder is not available. |
PS: The bug only is only present on my AMD64 machine, jpeg encoder does work on my Intel32 based laptop (also with Python 3.2.3 and Ubuntu 12.10). |
Well, this can explain a lot I think. I can confirm that my system is Intel with AMD64 architecture too. Maybe expected that jpeg libs must be in folder like |
Yeap, look here:
And now check this in setup.py:
|
I just applied your setup.py modifications and after a Pillow complete re-installation (removing build directory etc.) the jpeg encoder is finally working on my AMD64 machine. Thanks a lot! |
I'm glad to hear that. Hope other distributions users will check this patch and it will be merged. Today I was moving my project to Py3.3 server and for another time I have faced this problem. Thanks for noting 'removing build directory', this helped me after I have installed libjpeg62-dev. After all, I hope Pillow's installation process will be improved at least with more friendly error messages. |
Py3k libraries path fix (issue #41)
…uild MRG: refactor OS X build to same system as Linux
Looks like this is old-school well known problem, but:
I've tried many advices from web like:
and
Without any success.
System:
Debian wheezy/sid amd64
Python 3.2.3 in virtualenv
PNG encoder works fine.
Tests:
The text was updated successfully, but these errors were encountered: