Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
6092 Näkymät

Hi, 

I'm trying to install the python library Webp on Odoo sh v13. I deployed an app to transform image into WebP but the logs reported that the webp library is not installed. In my dev branch > app webp I went to the shell and write the command "pip3 install webp" and rebuild my app but same error. Can someone please help on how to install a library in Odoo sh V13? Thank you! 

Avatar
Hylkää
Paras vastaus

Hello,


Try this:

For python3.6

sudo python3.6 -m pip install webp


For python3

sudo python3 -m pip install webp


Avatar
Hylkää
Tekijä Paras vastaus

Thanks for your reply Haresh! It seems that I cannot SUDO in Odoo sh v13. Do you have any suggestions on how to proceed? thanks again  

Avatar
Hylkää
Tekijä

Added a requirements.txt in the root directory and incremented the version in manifest.py. Worked this way

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
syysk. 21
5287
6
elok. 18
18065
1
maalisk. 15
26185
0
maalisk. 25
1306
4
huhtik. 24
174135