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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM