Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
8655 Lượt xem

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

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Ben.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
376
1
thg 6 25
1017
0
thg 5 25
1129
2
thg 4 25
3135
1
thg 2 25
1343