Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
5923 Zobrazení

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
Zrušit
Nejlepší odpověď

Hello,


Try this:

For python3.6

sudo python3.6 -m pip install webp


For python3

sudo python3 -m pip install webp


Avatar
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
2
zář 21
5126
6
srp 18
17877
1
bře 15
26014
0
bře 25
1231
4
dub 24
173900