Python中安装xlrd模块

1下载xlrd

http://pypi.python.org/pypi/xlrd去下载,最新版本的xlrd-0.8.0.tar.gz得到130KB的xlrd-0.8.0.tar.gz

2安装xlrd

解压后,打开cmd切换到对应目录,去执行:

<pre name="code" class="python">D:\tmp\dev_tools\python\excel\xlrd-0.8.0\xlrd-0.8.0>setup.py install
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\xlrd
copying xlrd\biffh.py -> build\lib\xlrd
copying xlrd\book.py -> build\lib\xlrd
copying xlrd\compdoc.py -> build\lib\xlrd
copying xlrd\formatting.py -> build\lib\xlrd
copying xlrd\formula.py -> build\lib\xlrd
copying xlrd\info.py -> build\lib\xlrd
copying xlrd\licences.py -> build\lib\xlrd
copying xlrd\sheet.py -> build\lib\xlrd
copying xlrd\timemachine.py -> build\lib\xlrd
copying xlrd\xldate.py -> build\lib\xlrd
copying xlrd\xlsx.py -> build\lib\xlrd
copying xlrd\__init__.py -> build\lib\xlrd
creating build\lib\xlrd\doc
copying xlrd\doc\compdoc.html -> build\lib\xlrd\doc
copying xlrd\doc\xlrd.html -> build\lib\xlrd\doc
creating build\lib\xlrd\examples
copying xlrd\examples\namesdemo.xls -> build\lib\xlrd\examples
copying xlrd\examples\xlrdnameAPIdemo.py -> build\lib\xlrd\examples
running build_scripts
creating build\scripts-2.7
copying scripts\runxlrd.py -> build\scripts-2.7
running install_lib
creating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\biffh.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\book.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\compdoc.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
creating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\doc
copying build\lib\xlrd\doc\compdoc.html -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\doc
copying build\lib\xlrd\doc\xlrd.html -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\doc
creating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examples
copying build\lib\xlrd\examples\namesdemo.xls -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examples
copying build\lib\xlrd\examples\xlrdnameAPIdemo.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examples
copying build\lib\xlrd\formatting.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\formula.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\info.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\licences.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\sheet.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\timemachine.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\xldate.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\xlsx.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
copying build\lib\xlrd\__init__.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\biffh.py to biffh.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\book.py to book.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\compdoc.py to compdoc.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examples\xlrdnameAPIdemo.py to xlrdnameAPIdemo.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\formatting.py to formatting.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\formula.py to formula.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\info.py to info.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\licences.py to licences.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\sheet.py to sheet.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\timemachine.py to timemachine.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\xldate.py to xldate.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\xlsx.py to xlsx.pyc
byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\__init__.py to __init__.pyc
running install_scripts
copying build\scripts-2.7\runxlrd.py -> D:\tmp\dev_install_root\Python27_x64\Scripts
running install_egg_info
Writing D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd-0.8.0-py2.7.egg-info
 
D:\tmp\dev_tools\python\excel\xlrd-0.8.0\xlrd-0.8.0>

 



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值