Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5365 Visualizzazioni

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
Abbandona
Risposta migliore

Hello,


Try this:

For python3.6

sudo python3.6 -m pip install webp


For python3

sudo python3 -m pip install webp


Avatar
Abbandona
Autore Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
2
set 21
4549
6
ago 18
17294
1
mar 15
25398
0
mar 25
492
4
apr 24
172895