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

when I tried to import a file (Price list), I get the the following message:

"Import preview failed due to: Unable to load "xls" file: requires Python module "xlrd".

For CSV files, the issue could be an incorrect encoding."

 have already install Python-xrld with pip and xrld with apt-get but still not working, any suggestion how can I fix this?


Avatar
Discard

Thank you Ray, I have done what you told but still not working, having the same message that XLRD is needed.

Best Answer

Hello Mijail,

go to your odoo addons path (where the requirements.txt file exists) and execute the below command. 

sudo pip3 install -r requirements.txt
Avatar
Discard
Best Answer

Try this one 

easy_install xlrd

Avatar
Discard
Best Answer

Hi Mijail,

Today, I have same problem like you, and I already install xlrd in python3 but it still doesn't work. Do you have any solutions for this?

Thanks,

Minh

Avatar
Discard
Best Answer

Did you install it for Python 2.7 or for Python 3? 

Odoo v11 requires Python 3.


Install python3-pip and use

 pip3 install xlrd 

 

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
940
1
Jun 24
3561
1
Oct 23
8584
1
Oct 23
97
1
Aug 23
2192