【Python 问题解决】---- ModuleNotFoundError: No module named ‘xlwt‘
2022-06-10 13:48:33浏览数 (1)
1. 报错提示
代码语言:javascript复制
Traceback (most recent call last):
File "app.py", line 25, in <module>
df.to_excel(ffn3.replace('.txt','.xls'),index=None)
File "D:Pythonlibsite-packagespandascoregeneric.py", line 2032, in to_excel
engine=engine,
File "D:Pythonlibsite-packagespandasioformatsexcel.py", line 730, in write
writer = ExcelWriter(stringify_path(writer), engine=engine)
File "D:Pythonlibsite-packagespandasioexcel_xlwt.py", line 13, in __init__
import xlwt
ModuleNotFoundError: No module named 'xlwt'