Skip to Content
Menu
This question has been flagged
5 Replies
15634 Views

Hello, I am trying to install the Excel Import / Export module but it gives me this error: Impossible to install the module "excel_import_export" because there is an unresolved external dependency: No module named xlrd. But I do have the XLRD module installed: root@: ~ # apt-get install python-xlrd Reading package lists ... Done Building dependency tree Reading state information ... Done python-xlrd is already the newest version (1.0.0-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   Help and thanks!

Avatar
Discard

Have you restarted your Odoo instance after you've installed the Python package though? If you've installed xlrd after Odoo was installed and if you haven't yet restarted the instance Odoo will not be able to find and use it.

Best Answer

It is because you didn't installed the xlrd python library.

In the terminal type,

pip install xlrd

If you're having Python2.7 and Python 3 in your system you need to ensure that pip is default to which version.

Sometimes you may need to enter or install like this:

pip3 install xlrd


Avatar
Discard
Author Best Answer

Thanks, it was because I had installed it like this: apt-get install python-xlrd but I had to install it in python3 like this: apt-get install python3-xlrd . 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!

Avatar
Discard