I wanted to recompile PIL
after having installed libjpeg
because it threw the decoder jpeg not available
whenever I tried importing JPEG images.
So, I've downloaded libjpeg
, compiled it and installed it. Then I removed the ./build
folder from PIL's source cache, and recompiled it (using sudo python setup.py install
).
Now the selftest.py
thing is failing with *** The _imaging C module is not installed
. I have no idea what the issue is.
_imaging
module is importable -v
) Does anyone know what could be causing this? I'm on OS X Lion.
What would I try:
我解决了这个问题
pip install Pillow
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.