跳至內容
選單
此問題已被標幟
4 回覆
8782 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
8月 25
2597
1
7月 25
1003
1
8月 25
1151
0
5月 25
1457
2
4月 25
3610