已安装xlwings和pandas
Python报错如下:
Traceback (most recent call last):
File "C:\Users\jing.he\Desktop\【应收】一个表拆开几个工作簿.py", line 1, in <module>
import xlwings as xw
File "C:\Users\jing.he\AppData\Local\Programs\Python\Python39\lib\site-packages\xlwings\__init__.py", line 9, in <module>
from . import _xlwindows as xlplatform
File "C:\Users\jing.he\AppData\Local\Programs\Python\Python39\lib\site-packages\xlwings\_xlwindows.py", line 14, in <module>
import pywintypes
ModuleNotFoundError: No module named 'pywintypes'
代码如下:
import xlwings as xw
import pandas as pd
app = <