I tried installing openpyxl in odoo.sh via web shell.
pip3 install openpyxl
But while installing a custom module it shows the module not found error. I tried to create a new build and tried installing it, but it shows the same module not found error.
tried reinstalling the package, then I noticed this in the web shell "defaulting to user installation because normal site-packages is not writeable".
Câu hỏi này đã bị gắn cờ
1
Trả lời
8225
Lượt xem
add requirements.txt in your repostory where we usually keep readme.txt file and specify library you want to install like openpyxl == 3.13
3.13 is the version add if no preference then only add only openpyxl and push to odoo.sh GitHub
it will be installed automatically
Thank you Muhammad Yusuf, I will try this solution and let you know.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
0
thg 12 23
|
2724 | ||
|
|
0
thg 11 23
|
2360 | ||
|
Create order_line from code
Đã xử lý
|
|
1
thg 11 22
|
5424 | |
|
|
0
thg 7 22
|
462 | ||
|
How can I pad online appointments?
Đã xử lý
|
|
1
thg 7 22
|
3266 |