import win32api 安装pip install pypiwin32
pip install win32api
pip install pywin32
都会提示错误,如下:
Could not find a version that satisfies the requirement win32api (from versions: )
No matching distribution found for win32api
改为
pip install pypiwin32
成功解决。