コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
6114 ビュー

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

関連投稿 返信 ビュー 活動
2
9月 21
5305
6
8月 18
18084
1
3月 15
26211
0
3月 25
1316
4
4月 24
174167