greatxi

1、执行py脚本提示“No module named \'xlrd\'1”,python编程语言要读取excel,必须要安装模块xlrd才能读取excel文件
win+r ; cmd 进入windows命令行
进入C:\tool\Python\Python36\Scripts> 目录
安装pip
C:\tool\Python\Python36\Scripts>easy_install.exe pip
利用pip命令安装:
安装xlrd包-> pip install xlrd
安装docxtp包-> pip install docxtpl

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-08-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-12-18
相关资源
相似解决方案