使用pyinstaller打包exe的時候遇到這個錯誤:
PyInstaller cannot check for assembly dependencies.
Please install pywin32-ctypes.
pip install pywin32-ctypes
按照上面的提示,執行安裝pywin32-ctypes但會提示已經安裝:
Requirement already satisfied: pywin32 in d:\program files (x86)\anaconda3\lib\site-packages (227)
在Google檢索這個問題發現了這個帖子,按照上面說的解決了。
帖子地址:
https://stackoverflow.com/questions/59638691/pyinstaller-cannot-check-for-assembly-dependencies
按照提示,先執行這個命令:
pip install cffi
再執行:
pip install pywin32