1- 报错 Please install pywin32-ctypes.
前提:python安装路径中已经安装了pywin32-ctypes。 运行pyinstaller报错
PyInstaller cannot check for assembly dependencies.
Please install pywin32-ctypes.
解决思路:
python安装路径下Lib\site-packages\PyInstaller下找到compat.py,修改文件如下
修改前:
from win32ctypes.pywin32 import pywintypes # noqa: F401, E402
from win32ctypes.pywin32 import win32api # noqa: F401, E402
修改后:
import pywintypes
import win32api
参考: