我有一个作业要用Python读取excel数据。我已经安装了Python2.7。我尝试在Windows中使用以下命令安装xlrd0.8.0。C:\Python27\xlrd-0.8.0>python setup.py build
running build
running build_py
creating build
creating build\lib
creating build\lib\xlrd
copying xlrd\biffh.py -> build\lib\xlrd
....
C:\Python27\xlrd-0.8.0>python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
running install_egg_info
Writing C:\Python27\Lib\site-packages\xlrd-0.8.0-py2.7.egg-info
安装时未收到任何错误消息。我还在/lib文件夹的网站包中看到xlrd-0.8.0文件夹。。。
但当我尝试导入它时,Python无法识别它。。。>>> import xlrd
Traceback (most recent call last):
File "", line 1, in
import xlrd
ImportError: No module named xlrd
你能建议如何找到问题吗?