I need pywin32 in order to use a module. This is the command I use in Odoo.sh shell:
pip install pywin32
And this is the error I get:
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32
I really need this library it's pretty urgent. Is there a way to install it? I don't have Odoo installed in local btw I just work in Odoo.sh
Also tried to install pypiwin32 and it worked but the module still needs pywin32, more exactly win32com
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
You can't install Python library directly in Odoo.sh, If you would like to use an external Python library which is not installed by default, you can define a requirements.txt file listing the external libraries your modules depends on.
So from the Odoo.sh editor, create and open the file ~/src/user/requirements.txt.
then add pywin32 to the requirements.txt file, The Odoo platform will use this file to automatically install the Python libraries your project needs.
More details in Odoo documentation
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 | |
---|---|---|---|---|
Python library not installed: webp
Đã xử lý
|
|
2
thg 8 20
|
6219 | |
|
3
thg 5 25
|
3443 | ||
|
2
thg 9 21
|
5442 | ||
|
6
thg 8 18
|
18191 | ||
|
1
thg 5 18
|
39436 |