Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6095 Lượt xem

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! 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,


Try this:

For python3.6

sudo python3.6 -m pip install webp


For python3

sudo python3 -m pip install webp


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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  

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 21
5289
6
thg 8 18
18069
1
thg 3 15
26187
0
thg 3 25
1306
4
thg 4 24
174140