PyInstaller cannot check for assembly dependencies. Please install pywin32-ctypes. 解决方法

使用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

posted on 2020-11-17 15:17  tonysss  阅读(3562)  评论(0编辑  收藏  举报

导航