1、在开始菜单 打开Anaconda prompt(anaconda3)
2、查看环境列表
3、进入虚拟环境
4、在虚拟换进下使用清华源安装读取excel的库 和写入excel的库
低版本读取Excel文件的库:pip install xlrd -i https://pypi.tuna.tsinghua.edu.cn/simple
高版本读取Excel文件的库:pip install openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple
低版本写入Excel文件的库:pip install xlwt -i https://pypi.tuna.tsinghua.edu.cn/simple
高版本写入Excel文件的库:pip install xlsxwriter -i https://pypi.tuna.tsinghua.edu.cn/simple
python处理Excel常用模块:xlrd/xlwt/xlsxwriter/openpyxl/pandas/win32.com差异比较汇总以及常用使用方法
一、各模块优缺点比较