跳至內容
選單
此問題已被標幟
4 回覆
190239 瀏覽次數

How can i install python-xlrd module in ubuntu 


from .gz or directly command line 


頭像
捨棄
最佳答案

Hi sarkar,

the easiest way is to use the pip tool which will download and install the module for you. First of all you need to open a root terminal and then type following command:

pip install xlrd
if all runs well (i hope so), you will get this message "Successfully installed xlrd". If you get a "Permission denied" error, it means that you are not logged as root.

To make sure has been installed correctly, type following command, which will show you the version of the xlrd module:

python -c "import xlrd; print xlrd.__VERSION__"


Best regards

Yvan

頭像
捨棄

For version 9, this breaks CSV import for me. I've logged this at https://github.com/odoo/odoo/issues/10199

最佳答案

If you want to install in python 3.5 here is blog http://www.probuse.com/blog/odoo-host-21/post/install-xlrd-in-python-3-5-ubuntu-397 which help to install in ubuntu.

Mustufa Rangwala

www.probuse.com

頭像
捨棄
最佳答案

Mustafa has provided the solution in my case. The only additional information is 

 after downloading and extracting the XLRD, you will run:

sudo python3.6 setup.py install  and not sudo python3.5 setup.py install

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 19
8718
1
11月 22
2557
7
1月 24
15186
0
2月 17
3257
0
3月 15
3933