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