Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
8660 มุมมอง

When I createing new database in odoo at that time it gives the error of  "decoder jpeg not available"

I also tried :

     pip uninstall PIL    

     pip install pillow

sudo apt-get install python-imaging

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

libjpeg8-dev is required to be able to process jpegs with pillow (or PIL) for ubuntu 14.04 and higher, so you need to install it and then recompile pillow. Install 

sudo apt-get install libjpeg8-dev

and try to reinstall the pillow 

pip install --no-cache-dir -I pillow

Hope this helps!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Make sure you have libjpeg and libjpeg-dev installed. After this try to reinstall pillow module. The output should contain

--- JPEG support available

If the output already contains that string and the error still persist check this answer: https://stackoverflow.com/questions/22409140/pillow-recognizes-jpeg-encoder-on-install-but-not-use

อวตาร
ละทิ้ง
ผู้เขียน

Thank you Ben.

คำตอบที่ดีที่สุด

Yes Mr. Ben is right, It will work so that please follow him.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
433
1
มิ.ย. 25
1059
0
พ.ค. 25
1176
2
เม.ย. 25
3170
1
ก.พ. 25
1379