I am running Odoo 11.0-20210922 CE on Ubuntu 16.04. After trying to import one of the xls import templates and getting this error Import preview failed due to: Unable to load "xls" file: requires Python module "xlrd".
I executed pip3 install xlrd and pip install xlrd because unsure about the Python version. Checked with pip3 show xlrd and pip show xlrd, which shows:
Metadata-Version: 2.0
Name: xlrd
Version: 1\.1\.0
Summary:\ Library\ for\ developers\ to\ extract\ data\ from\ Microsoft\ Excel\ \(tm\)\ spreadsheet\ files
Home\-page:\ http://www\.python\-excel\.org/
Author:\ John\ Machin
Author\-email:\ sjmachin@lexicon\.net
Installer:\ pip
License:\ BSD
Location:\ /home/user/\.local/lib/python3\.5/site\-packages
and
Metadata\-Version:\ 2\.0
Name:\ xlrd
Version:\ 1\.1\.0
Summary:\ Library\ for\ developers\ to\ extract\ data\ from\ Microsoft\ Excel\ \(tm\)\ spreadsheet\ files
Home\-page:\ http://www\.python\-excel\.org/
Author:\ John\ Machin
Author\-email:\ sjmachin@lexicon\.net
Installer:\ pip
License:\ BSD
Location:\ /home/user/\.local/lib/python2\.7/site\-packages
I\ first\ tried\ with\ the\ latest\ xlrd\ version\ \(2\.0\.1\)\ with\ no\ results,\ then\ I\ downgraded\ to\ 1.1.0
I've rebooted Ubuntu / restarted Odoo service in every case, but I keep getting the same error.
What am I missing?
Thanks.
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ờ
3078
Lượt xem
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 | |
---|---|---|---|---|
|
9
thg 6 23
|
13219 | ||
|
2
thg 4 22
|
10344 | ||
|
2
thg 1 22
|
3936 | ||
|
2
thg 12 21
|
7984 | ||
|
0
thg 6 21
|
2005 |