Python中安装xlrd模块

来源:互联网 发布:c语言教案及配套课件 编辑:程序博客网 时间:2024/05/17 19:58

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 installrunning installrunning buildrunning build_pycreating buildcreating build\libcreating build\lib\xlrdcopying xlrd\biffh.py -> build\lib\xlrdcopying xlrd\book.py -> build\lib\xlrdcopying xlrd\compdoc.py -> build\lib\xlrdcopying xlrd\formatting.py -> build\lib\xlrdcopying xlrd\formula.py -> build\lib\xlrdcopying xlrd\info.py -> build\lib\xlrdcopying xlrd\licences.py -> build\lib\xlrdcopying xlrd\sheet.py -> build\lib\xlrdcopying xlrd\timemachine.py -> build\lib\xlrdcopying xlrd\xldate.py -> build\lib\xlrdcopying xlrd\xlsx.py -> build\lib\xlrdcopying xlrd\__init__.py -> build\lib\xlrdcreating build\lib\xlrd\doccopying xlrd\doc\compdoc.html -> build\lib\xlrd\doccopying xlrd\doc\xlrd.html -> build\lib\xlrd\doccreating build\lib\xlrd\examplescopying xlrd\examples\namesdemo.xls -> build\lib\xlrd\examplescopying xlrd\examples\xlrdnameAPIdemo.py -> build\lib\xlrd\examplesrunning build_scriptscreating build\scripts-2.7copying scripts\runxlrd.py -> build\scripts-2.7running install_libcreating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\biffh.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\book.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\compdoc.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcreating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\doccopying build\lib\xlrd\doc\compdoc.html -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\doccopying build\lib\xlrd\doc\xlrd.html -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\doccreating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examplescopying build\lib\xlrd\examples\namesdemo.xls -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examplescopying build\lib\xlrd\examples\xlrdnameAPIdemo.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examplescopying build\lib\xlrd\formatting.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\formula.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\info.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\licences.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\sheet.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\timemachine.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\xldate.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\xlsx.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdcopying build\lib\xlrd\__init__.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrdbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\biffh.py to biffh.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\book.py to book.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\compdoc.py to compdoc.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\examples\xlrdnameAPIdemo.py to xlrdnameAPIdemo.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\formatting.py to formatting.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\formula.py to formula.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\info.py to info.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\licences.py to licences.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\sheet.py to sheet.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\timemachine.py to timemachine.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\xldate.py to xldate.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\xlsx.py to xlsx.pycbyte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\xlrd\__init__.py to __init__.pycrunning install_scriptscopying build\scripts-2.7\runxlrd.py -> D:\tmp\dev_install_root\Python27_x64\Scriptsrunning install_egg_infoWriting 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
原创粉丝点击