python 中xlrd模块的安装

python 中xlrd模块的介绍
python编程语言要读取excel,必须要安装模块xlrd才能读取excel文件。

安装

windwos:
执行:
pip3 install xlrd


Collecting xlrd
Downloading https://files.pythonhosted.org/packages/07/e6/e95c4eec6221bfd8528bcc4ea252a850bffcc4be88ebc367e23a1a84b0bb/xlrd-1.1.0-py2.py3-none-any.whl (108kB)
100% |████████████████████████████████| 112kB 244kB/s
Installing collected packages: xlrd
Successfully installed xlrd-1.1.0
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.


linux:
1、官网下载xlrd模块,下载地址:https://pypi.python.org/pypi/xlrd
2、解压压缩包 : tar xvf xlrd-1.0.0.tar.gz
3、进入到解压的文件夹
4、执行指令:sudo python setup.py install

你可能感兴趣的:(Python)