跳至内容
菜单
此问题已终结
4 回复
8645 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
0
7月 25
326
1
6月 25
998
0
5月 25
1109
2
4月 25
3114
1
2月 25
1327