Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5883 Widoki

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! 

Awatar
Odrzuć
Najlepsza odpowiedź

Hello,


Try this:

For python3.6

sudo python3.6 -m pip install webp


For python3

sudo python3 -m pip install webp


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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  

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 21
5087
6
sie 18
17839
1
mar 15
25982
0
mar 25
1193
4
kwi 24
173849