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

 Now when installing the module the Odoo I receive this error: Impossible to install the module "excel_import_export" because there is an unresolved external dependency: No module named xlwt, but if I check it now it tells me this if I run: apt-get install python3-xlwt Reading package lists ... Done Building dependency tree Reading state information ... Done Package python3-xlwt is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python3-xlwt' has no installation candidate Help me!

Ảnh đại diện
Huỷ bỏ

Please, format yuor message because it's no simple to understand errors message all inline

This is a system (environment) error and not Odoo one. Which system are you using to install Odoo? Directly on your system? Buildout? Docker?

Câu trả lời hay nhất

Hi, 

You have to install python xlwt library using the below command:

pip install xlwt

The requirements to install excel_import_export module is the below:

you need to install following python library, xlrd, xlwt, openpyxl.

https://github.com/OCA/server-tools/tree/12.0/excel_import_export

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

For Odoo version 11.0 and newer I use the following command:

sudo -H pip3 install xlwt
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Waleed,

    I did install as your advice but can not install excel_import_export module on Odoo apps

   Please help it out (I used both Windows and Ubuntu server)

Thanks

Ảnh đại diện
Huỷ bỏ