![](/img/trans.png)
[英]Icons missing from PyQt5 app after compiling to .exe using pyinstaller
[英]Trouble Compiling PyQt5 Python app with PyInstaller
我已經看到一些帖子說該問題已解決,但是我仍然無法使用Python 3.6.4,PyQt 5.10.1和Pyinstaller 3.3.1進行成功編譯。
收到大量警告(如下面的警告)和生成的可執行文件不起作用。
WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\users\justin\appdata\local\programs\python\python36-32\lib\site-packages\PyQt5\Qt\plugins\bearer\qgenericbearer.dll type errors.
我嘗試在命令中包含python目錄,但沒有骰子。 當前正在使用此命令:
pyinstaller --paths "C:\Users\Justin\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\PyQt5\Qt\bin" "..\main.py"
有人遇到這個問題嗎?
api-ms-win-crt-runtime-l1-1-0.dll
是Visual C ++ 2015可再發行組件包的一部分。
好吧,我發現其他缺少的模塊導致了.exe問題。 我仍然遇到所有這些api-ms-win錯誤,但我的應用程序運行正常。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.