Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5367 Переглядів

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! 

Аватар
Відмінити
Найкраща відповідь

Hello,


Try this:

For python3.6

sudo python3.6 -m pip install webp


For python3

sudo python3 -m pip install webp


Аватар
Відмінити
Автор Найкраща відповідь

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  

Аватар
Відмінити
Автор

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

Related Posts Відповіді Переглядів Дія
2
вер. 21
4554
6
серп. 18
17300
1
бер. 15
25402
0
бер. 25
501
4
квіт. 24
172906