Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5961 มุมมอง

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
5174
6
ส.ค. 18
17915
1
มี.ค. 15
26054
0
มี.ค. 25
1264
4
เม.ย. 24
173978