Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
8787 Переглядів

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 Відповіді Переглядів Дія
2
серп. 25
2604
1
лип. 25
1013
1
серп. 25
1151
0
трав. 25
1464
2
квіт. 25
3616