安装pip install win32gui报错
报错内容如下:
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
...
ModuleNotFoundError: No module named 'win32.distutils.command'
法一
重新下载安装镜像源pywin32
找到自己的python对应的版本,以python版本3.7,将这个whl文件下载后,cd到whl目录下,输入以下命令:
pip install pywin32-305-cp37-cp37m-win_amd64.whl
法二
直接输入以下命令
pip install pywin32