İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
6108 Görünümler

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
Vazgeç
En İyi Yanıt

Hello,


Try this:

For python3.6

sudo python3.6 -m pip install webp


For python3

sudo python3 -m pip install webp


Avatar
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 21
5300
6
Ağu 18
18080
1
Mar 15
26205
0
Mar 25
1312
4
Nis 24
174158